Developer Pennyfarthing Homes has purchased the former Ringwood Brewery in Hampshire, which it plans to redevelop and convert into its new headquarters.