Added rails 3 engine
Replaced class_inheritable_hash with class_attribute for rails 3.2
Changed named_scope to simply scope for rails 3.2
Merge pull request #2 from garytaylor/master

Rails 3 support