improve smarty renderer phpunit code coverage

As requested I've added test to fully cover the SmartyRenderer
- I have change the phpunit.xml.dist file too to simplify the code coverage view in my local dev
- update the gitignore to remove the local build folder created by the new phpunit settings