Added fixes

This commit adds some fixes, like the ability to remove photos
automatically, and a bit of documentation. This commit also
changes the name of DatabaseManipulationInterface class to
AbstractSocialCacheModel, that is better.