update scope resolution of constants
add integration module to support to_param/cache_key for rails model compat
Merge pull request #8 from liveh2o/bdewitt/active_remote_integration

Bdewitt/active remote integration