Fix 'Use of undefined constant TMP - assumed 'TMP' in stkaddons/include/Template.class.php line 21'
Remove dependency on sql_exist()
Remove dependency on sql_update();
Remove dependency on sql_insert()
Fix typo in Addon::setName
Merge pull request #12 from leyyin/master

Fix TMP issue and remove old sql dependency