Fix for XSS vulnerabilities

Used clean() to fix XSS vulnerabilities
Fix for XSS vulnerabilities (part 2)

Also some XSS vulnerabilities with $_POST
Merge pull request #36 from alboltdrogo/master

Fix for XSS vulnerabilities; Thank you, Albotdrogo