fixes #2740 - copy code from lib/foreman.rb to initializers/foreman.rb
fixes #2741 - remove dash from -%> to %>
fixes #2741 - Minitest refactoring
fixes #2741 - remove unnecessary require statements
fixes #2741 - rails 3 syntax