Refactor architecture, add tests

 * Fix DB loading
 * Move exceptions to new folder
 * Move Query* functions to new folder
 * Add Properties trait
 * Add Result and ResultRow
 * Add require file; SplClassLoader no longer required
 * Add Tests for everything but Orm

Final Orm is still to-do.