Pry fix

The rails console require conditionals fail when running pry directly.  I've added a check for `defined?(Pry)` to get ActiveRecord and ActiveSupport extensions loaded.

The second commit is due to rspec complaining about the order of that array after I changed the require stuff.  Since the order doesn't matter, I just changed the test.