Merge pull request #165 from christeredvartsen/new-image-transformation-cache

New image transformation cache
Use MongoClient instead of the Mongo class. This will only work for pecl/mongo >= 1.3.0
Removed the usage of the safe option
Added a dependency to pecl/mongo greater than or equal to 1.3.0