Run create_instance with transaction.commit_on_success

Fixes #1413
Use username instead of user id for create_instance user option
Merge pull request #1414 from maurizi/fix-create-instance-issues

Fix create instance issues