Fixes #4402 adds warning to private methods on ElggMenuItem
added work around for bug in coding standard checker
Merge pull request #5757 from cash/menu_unit_tests

Fixes #4402 adds warning to private methods on ElggMenuItem