bz1063273 - properly enable/disable remove ui button

bz1063273 - added destroy method

bz1063273 - added test, cleaned up based on comments
Merge pull request #3676 from thomasmckay/bz1063273

fixes #4993, bz1063273 - properly enable/disable remove ui button"
fixes #5079 - fixing error on puppet module upload

undefined local variable or method create_index for Katello::PuppetModule:Class
Merge pull request #3947 from jlsherrill/puppet_module_fix

fixes #5079 - fixing error on puppet module upload