Uage of JCompatibility

I've changed for use JCompatibility for check compatibility with joomla version in 3rd extensions.
Merge pull request #15 from juliopontes/patch-4

Usage of JCompatibility