Hotel at Edinburgh Airport secures consent