fixes for CRM-14013
Merge pull request #14 from kurund/4.4

fixes for CRM-14013
CRM-14106 - Replace CRM_Utils_Array::value with \!empty
Merge pull request #15 from colemanw/master

CRM-14106 - Replace CRM_Utils_Array::value with \!empty
CRM-14229 Static call to non static method in Joomla

An old static call to JMenu  in civicrm.php throws a warning in current versions of PHP. This replaces it with the correct code from the Joomla API.