Fix org & loc creation functions and improve error message for api.

Improves error message for enable_rhrepo_and_fetchid in api.utils.

The indent for submit button for org and location functions is now
fixed.
Also now org and location CRUD functions have flat code and no
generic exceptions.