SQL Sanitising

Every query that is hitting the database will be run through the squel node.js module. Additionally any parameters that are passed need to be sanitised using the sanitiseSqlString function in the butrDatabase module.

The mysql_real_escape_string() javascript function came from:

http://stackoverflow.com/questions/7744912/making-a-javascript-string-sql-friendly