Make this extension composer ready.

Add composer.json
Modify extension and bring compability for work with composer-installed Smarty.

Now you don't need to set Smarty dir, it will be autoloaded via composer autoload.

Also need to update documentation. 

No. There is a lambda function. I think in 2014 most shared hostings has php 5.3 and this isn't a problem.