Changed where definitions go and updated DB

Added roles to DB and some initial data. Also modified how the foreign
keys react.

Split out debug defines into an inc/ directory.
removed sanitizing the whole sql string. made sanitize method public
Began user class