Update logout.php

JApplication class doesn't have function called gethash. The function exist in JApplicationHelper class so i changed it to JApplicationHelper from JApplication.