The first tranche of income generated by Edinburgh's new 'tourist tax' is set to fund the delivery of more than 400 affordable homes.