Update to version 2.2

Merge from Templaza
Fix canvas script
Fix TZRules::setRule with joomla 3.2.2
Merge pull request #2 from trinhvanduong/master

Fix TZRules::setRule function with joomla 3.2.2