Print request query parameters not only for GET methods

* also fixed numerous ruby warnings
Merge branch 'master' into print-query-parameters
Merge pull request #17 from sumskyi/print-query-parameters

Print request query parameters not only for GET methods