Plans have been approved to turn an Edinburgh city centre bar and nightclub into a new artisan micro-distillery.