Abstracted usage of JFactory::getDocument
Merging development branch from live repo
Removed usage of JFactory::getApplication()->isSite() , since it’s already implemented by FOFPlatform::isCli()
Abstracted usage of JFactory::getDate()
Abstracted usage of JFactory::getLanguage()
Abstracted usage of JFactory::getDbo
Only the front-end should be cacheable (otherwise b/c is broken)