Support Rails 4 beta
Remove unused test directory
Require the engine for Rails versions gte 3.1