Rails integration: adding a Railtie and a generator