Began work on implementing collections and using an ioc container.
IOC refactor for source complete. Moving on to tests.
A little more test setup.
Made jshint happy
filter.relations.test and two new Collection methods. Lots of fixes.
Refactored Model#save and Model#destroy tests.
Collection.getAll now supports relations, plus more tests.

getAll.relations.test
get.relations.test
get.test

Passing { profile: true } to get, getAll, and filter now results in the query profile being attached to the model/collection instance under the field "queries". Subsequent made by the same instance will be appended to that array if { profile: true } is used.
Fixes #40

Doc updates.
Implemented a few collection protoype methods. Added more tests.

#38
Added more tests.
Uncommented tests.
Added a number of tests.
Finished collection tests.
Merge pull request #39 from jmdobry/collections

Collections and internal use of ioc container