Changed JParameter to JRegistry (j3x compatibile)

JParameter class was removed in Joomla 3.x.
See http://docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_3_and_Joomla_Platform_12.2