reapply #5528 change JApplication::getHash in JApplicationHelper::getHash