added documentation for checkParams and checkQuery
Merge pull request #68 from smitp/master

documentation for checkParams and checkQuery