Prevent Rails 4.0 deprecation warning for `scoped`

Added some integration specs around `Decoratable.decorate` to make sure that this works properly.

Closes #484.