Controversial plans to build a £40m holiday park on the banks of Loch Lomond have been rejected after years of bitter debate.