Added toJSON() method to collection and model, tests.
Merge pull request #10 from jmfee-usgs/serialization

Added toJSON() method to collection and model, tests.