Implmenting the aggregate command

In addition, refactoring the representation for a Document since the
previous representation did not permit passing an array of documents
(with different fields) to the aggregate comment.
Merge branch 'topic/aggregate'
Bumping version number to 0.0.3