asset guide, match application.rb snippets to the generated file [ci skip]

`if defined?(Bundler)` is no longer used in our current application.rb
fix HashWithIndifferentAccess#to_hash behaviour
Updates to make rails 4 happy with minitest 5:

+ Namespace changes, overhaul of runners.
+ Internal ivar name changes
- Removed a logger globally applied to tests that spew everywhere?!?
+ Override Minitest#__run to sort tests by name.
+ Reworked testing isolation to work with the new cleaner architecture.
- Removed a bunch of tests that just test minitest straight up. I think these changes were all merged to minitest 4 a long time ago.
- Minor report output differences.
cleanup, switch arguments in assert_equal calls
cleanup, assert on warning from postgres adapter
tweak dependencies
oops. I should have only required minitest, not minitets/autorun. muscle memory.
conditions in callbacks return consistent lambdas
wrap all options in lambas
using lambas for the callback bodies
fix method names
remove dead code
callbacks are wrapped with lambdas
make_lambda is never called with an Array
no need for variable assignments, just pass the values in
callback sequence is no longer used
reduce the number of lambas
fix variable name
fixing more variable names
pass the run block as a normal variable to the rest of the callbacks