Fix provider creation in UI

Clicking the create button would error because the request's
method was undefined.
api v2 environments - environments CRUD actions
Merge pull request #3552 from komidore64/lifecycle_environments_crud_actions_api_v2_more_words

api v2 environments - CRUD actions
Merge pull request #3572 from mkelley33/fix-provider-create

Fix provider creation in UI
Changes required to have katello:reset work with a dev environment.

I first hit namespace issues, which is fixed in the http_resource
class. I then was getting wierd candlepin errors. This was due to
the keystore (which this does not replace) in /etc/tomcat/keystore
having been generated with a password which was not stored in
/etc/katello/keystore password. This resulted in a

javax.crypto.BadPaddingException: Given final block not properly padded

exception.

Finally, the cpsetup actually restarts tomcat, so I removed the extra
commands which are not needed.
Merge pull request #3573 from bkearney/bkearney/reset-with-dev-candlepin

Changes required to have katello:reset work with a dev environment.