Revert modifications to ResourceControllerExtension.
Replace Railtie by using an engine.
Clean up.
Bump version.