added trim() to mysql::query()
Merge branch 'master' of github.com:honestbuildings/tiny-api into bleeding-orm
changed order of plugin loading so input plugin is always first, added setModel and getModel to handler