Replace old Rails app with engine

Move the engine code to the root directory as the main contents of this
repository.
Add default rake task to run specs