New ActiveRecordRepository and a Rails::Generator

I added a ActiveRecordRepository which uses a Model as storage and added a Rails::Generator to easily set it up.