Deprecate JApplication, move static methods to JApplicationHelper
Move JApplicationHelper from legacy to CMS tree