Added support for checkQuery and checkParams + tests

Hi,

While developing one of our projects, we used your module and thought it would be a good idea to add support for checkQuery and checkParams, in order to streamline the library.
Tests were added as well.

Cheers.