Args for transform

I'd like to pass arguments to the transform like below, this PR achieves and documents this.

    Foxx.createQuery({
        query: '...',
        transform: function(results,args) { ... }
    })

Thanks to @fceller for helping me with it
http://stackoverflow.com/q/27238708/738323
Shouldn't this be `getPendingItemById({id: id})`?