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. 

Yes. It's just was in my local repository. I don't know how to do selective pull request.
On other hand i think this plugin is very usefull.