Modified utility functions to be more useful.
Added test for Model.
It's more proper to give a model instance an id.
Added tests for Collection.

Also, fixed some bugs in Collection.
Fixed some small things for consistency sake.
Got rid of useless parens!
Added test for the generic ServiceType class.