fixes #2179 - validate the owner type, preventing the API returning errors for a wrong owner_type
i18n - fixing malformed strings
fixing transifex domain in .tx/config and scripts
fixes #2969 - remove all legacy api code in UI controllers
fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2986 - remove #show method from controllers and routes.rb when not used
fixes #3052 - reports#show json rabl template to match as_json output that was removed
fixes #2969 - add deprecation response for api calls to UI routes