add 'trimming' as first step of the sanitize method
Merge branch 'master' of https://github.com/FNNDSC/chrisreloaded