Made compatible with Rails 4

- attr_accessible added only for Rails 3 and below
- adds the cropping_params helper
- Fixes #1