fixed deletion of a key from an object passed by reference

Request.buildUri() was mangling the param object, which is passed by
reference from application code.  Duplicated the params object before
mangling to solve the problem.
Merge pull request #134 from jsenick/fix-params-deletion

fixed deletion of a key from an object passed by reference