Add thumbs extension, a thumbnail service provider

* define Thumbnail provider
* create Smarty thumbnail function using service
* convert phpthumb usage and remove library