fixes #7481 - fix taxonomy association on smart proxy create

during the create using .pluck would not work since the model had not been saved yet
and would return no features
Fixes #7527 - don't require less in production unless from rake
Merge pull request #4677 from jlsherrill/KATELLO-2.0

Merging bugfixes to KATELLO-2.0