fixes #2739 - add ActiveSupport::Concern syntax to mixins
fixes #2740 - copy code from lib/foreman.rb to initializers/foreman.rb
fixes #2741 - remove dash from -%> to %>
fixes #2741 - rails 3 syntax
fixes #2741 - Minitest refactoring
fixes #2741 - remove unnecessary require statements
fixes #2741 - fixed auth source internal find syntax