Fix: relate() assumes object, added conditional
Merge pull request #79 from efarem/master

`relate()` callback supports arrays as well as objects
test_relate_works_with_objects_and_arrays()
Merge branch 'master' of https://github.com/zbrox/codeigniter-base-model into feature/smarter_where
Fix where with a string parameter
Added tests for smarter _set_where