Register smarty tags and pass on errors when smarty is not closed properly
Add missing function for processing invalid aruments.
Update README with correct documentation link

since we have lost smartylint.com domain