WIP - Isloating test dependencies in app tests

Finding places where JSession objects are getting created via JFactory::getSession() which in turn screws up the rest of the platform.