* Enable php error more better in development mode.
* Move smarty as composer dependency.