Added support for MongoDB TTL Collections

Also see http://docs.mongodb.org/manual/tutorial/expire-data/

Additionally some auto-formatting was done by PHPStorm IDE