The Maltese government has bought the only property outside Britain that Queen Elizabeth once called home, with plans to make it into a tourist attraction.