Add failing hasone tests
WIP: Fix hasOne infinite loop & migrate tests to mocha
Fix hasOne infinite loop
Fix shell model hasOne bug
Only mark model as dirty if a property has _really_ changed
Merge pull request #202 from dresende/has-one

Has one bugfixes
Deprecates generic test-validation in favour of new ones
Updates new hook tests to check error triggering
Updates model-save tests to check if .save() throws with unknown argument type
Fixes bug when passing an array (object) of ids but no options object
Adds a few more use cases to Model.get() test
Adds Model.clear test, deprecates old one
Updates some test suites to test methods without callback
Adds autoSave test to model save tests
Adds tests for orm exports

orm.connect() is detailed for now, others can be added later on
Removes unnecessary require() from some test files
Adds model.namePrefix setting (#203)

When set, is the prefix for subsequent db.define() table names (if no
table or collection is passed in options)
sql-query@0.0.28 (#204)
Fix orm when running on node v0.6 (at least) and module not found error has no code property

This should fix the last tests failing in Travis
Adds test for orm.connect("   ")