The Shore borough edged out hundreds of wealthy communities nationwide to crack the top 25 most expensive home markets.