Replace sinatra with rails

This change will help build a front-facing user interface to manage
hooks and projects configuration.
Use rails conventions for model classes
Add PostgreSQL
Do not require actionmailer
Add a blank homepage