fix katello build

test SC path to LdapFluff config too
load minimal environment for source_code_test.rb by RAILS_ENV == 'build'
Merge pull request #2071 from pitr-ch/quick-fix/minitest

fix katello build