Initial Rails conversion. CouchDB / MySQL connections broken, as this is moving to btsync and SQLite.