Add params object to pullChanges (support for path_prefix on /delta calls)

The /delta API call allows you to pass a few different options that have
not yet been implemented. This commit moves the params object from a
variable to a function parameter. At the moment only the path_prefix
parameter is supported.

This change should be backwards-compatible for existing callers of the pullChanges method..