Implement selectors and Model Inflectors

* implement new selectors for Documents, People, and Relationships* add ModelInflector to handle variable model/table/title/human string cases  of model names* fix "MySQL server has gone away" issue (probably?)