Check that libxml2 and libxslt are installed

closes: #1
Add security check to validator function

CVE-2014-0061
Add .gitignore