Fixed serialization issue

Fixed issue where members needed for SimpleTriggerImpl to function
properly were not being mapped to MongoDB.
Removed use of deprecated MongoDB APIs
Merge pull request #23 from ashitanojoe/master

Fixed serialization issue and removed use of deprecated MongoDB APIs