Updated menu.php to fix an issue

As per issue
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33584&start=0
Merge pull request #3862 from aditya-did/patch-1

[#33584] Updated menu.php to fix an issue
[imp][33928] Minor code improvement;
Closes #3860
[imp] Function should return the $result of the access level check;
Closes #3863
[bug][32458] Correct the position of caption container for Image;
Closes #2638
[bug][33868] Only show tags having published items.
Closes #3786
[bug] Fix bug in FOFEncryptTotp::checkCode.
Fixes #3730
[imp][33896] Make delete template error message more helpful.
Closes #3824
[imp][33892] Replace ajax-loader.gif in media/jui/img/ with new, nicer looking
"spinning all together" icon.
Closes #3813
CodeStyle
[fix] Copy Template and Rename File buttons if Hathor is uninstalled. Fixes #3858

Removing the model check for hathor and working with the active template from the application
[fix] Mootools isn't used in the blog layout. Fixes #3697