minor refactoring: if -> conditional expression
mssql: extract normaliseTypeName to separate class
mssql: refactor normaliseTypeName
Merge pull request #259 from dbfit/mssql-refactor-normaliseTypeName

mssql: refactor normaliseTypeName and getParameterDirection