move image_info smarty plugin to cakephp helper, close #344

* delete smarty plugin
* add ImageInfo helper
* avoid exceptions but write error log
* refactoring in tpl