Fixed specs, more Rails 4 config, got rid of deprecations