Fix some errors in creating template
Test
test
TypeError: Instance() got an unexpected keyword argument 'owner'
----------------------------------------------------------------------
Ran 5 tests in 0.416s
FAILED (errors=1)
Destroying test database for alias 'default'...
nosetests image instance storage template authorization --verbosity=1
ERROR: Job failed: exit code 1