#2039 Accept block for download_links
#2039 Ensure that download_links supports stabby proc syntax `-> {}` by using `instance_exec`
Added jquery-ui-rails as a dependency

Conflicts:
	activeadmin.gemspec

undoes 1d29474c489d558, to apply the full fix
limit support to Rails >= 3.2 and Ruby >= 1.9

#### Removed outdated version-checking conditions
Modules affected:
+ CSV parser
+ asset registration
+ class reloading in development

#### Removed 99% of our custom class reloader in favor of Rails reloading
Note: I removed the code that purges `app/admin` from Rails' `eager_load_paths`
since there were no bad effects of doing so. Only the code that does this for
Rails' `autoload_paths` seems necessary.

#### Gemspec dependencies updated
+ fastercsv removed
+ coffee-rails added
+ sass replaced by sass-rails
Strong Parameters support for Rails 4

Adds conditionals to the admin user generator, and to the AA Comments
model & controller to handle both Protected Attributes and Strong Paramaters

Also updates dependencies so the test Rails 4 app will at least bundle
move from Metasearch to Ransack

Note that while Ransack renames many query methods ("predicates"), this
commit creates aliases for the more plain-english predicates so they
still work as expected.

To see the full list of Ransack predicates, check out
`lib/ransack/constants.rb` in the Ransack source code.

This commit also removes polymorphic foreign keys from the default
list of filters for a resource, since Ransack seems to barf on them. We
don't have a good filter UI for them anyway, so it's not a huge issue.
remove Rails 3.0 asset generator

+ asset generator now creates a CoffeeScript file
Rails 4: Removed reference to nonexistent Actions module.

See gregbell#2120 by @akashkamboj.
Rails 4: A Name is not a String, so use Name methods.

Or convert the Name to a String.
Don't add Devise config twice.

This substition was being made twice by the `install` generator,
resulting in two config parameters. Now we only add the config
if there is none already.
prevent Ransack method naming conflicts with other gems
Rails 4 support
use the previous incarnation of #input_class for FormBuilder

For some reason, Formtastic checks if a constant is defined first, which doesn't play nicely with autoloading of custom inputs. This brings Formtastic's implementation back to pre justinfrench/formtastic#783
update to rspec-rails 2.13
get the test suite passing for Rails 4

:purple_heart:
Adds permitted params for admin_user for rails 4
update gemspec requirements to prevent errors

Since our major dependencies now have official rubygems releases that
support both Rails 3.2 and 4.0, I'm making those new versions a
requirement in the gemspec.
fix issue where AA test app couldn't find assets
lazy-load the sort order to prevent hitting the DB in rake tasks

resolves #2342
#2329: remove app/admin from eager_load_paths