Fix various SQL injections
Merge pull request #3 from unikent/fix/sql-inject

Fix/sql inject
Merge pull request #4 from unikent/master

STABLE