fixed some compatibility issuses with Joomla! 3.0
Merge pull request #1 from vdespa/master

fixed some compatibility issuses with Joomla! 3.0