Fixes #6187,BZ1125358 - Deleting a resource and creation a new one wont lead to conflicts
fixes #8116 - correcting prior env description in apidoc, BZ 1130258
Fixes #7126 - Upload docker images to the API
fixes #7885 - adding counts to lifecycle environments

as part of this i centralized the errata counts template
Fixes #7961: Able to view the Errata in the Library Environment
Merge pull request #4762 from jlsherrill/7885

fixes #7885 - adding counts to lifecycle environments
Merge pull request #4768 from komidore64/rmi8116-apidoc-lc-env-prior-id

fixes #8116 - correcting prior env description in apidoc, BZ 1130258
Fixes #7554 - Show user friendly error message on 413
Merge pull request #4751 from ehelms/fixes-7961

Fixes #7961: Able to view the Errata in the LIbrary Environment
Fixes #8209 - Hammer repo create doesn't require url
Merge pull request #4783 from adamruzicka/repo_url

Fixes #8209 - Hammer repo create doesn't require url
fixes #7711 - adding api errata comparison for content view versions
Merge pull request #4782 from daviddavis/temp/20141029165526

Fixes #7554 - Show user friendly error message on 413
Merge pull request #4761 from daviddavis/temp/20141023155402

Fixes #7126 - Upload docker images to the API
Merge pull request #4571 from adamruzicka/fix-phases

Fixes #7333,BZ1129635 - Deleting a resource and creation a new one wont lead to conflicts
Fixes #7604 - Enable docker image uploads
Merge pull request #4767 from jlsherrill/7701

fixes #7711 - adding api errata comparison for content view versions
Refs #8138: Removes use of RootURL removed from Bastion.
Merge pull request #4786 from daviddavis/temp/20141030132721

Fixes #7604 - Enable docker image uploads from the UI
fixes #8131 - hypervisors forced into content host's org, env, and cv

tests and rubocop

updates based on p-r comments