Added cacheable queries to collections.
Added an event emitter to collections. 'change' events are fired whenever data is inserted, modified, or removed.