A museum will be home to a rare Saxon treasure after a community crowdfunding campaign.