Tourists to Edinburgh could soon face a 5% surcharge on their visits after the final details for the proposed levy were confirmed.