Add docpad as parameter to _indexDocument function

Fixes error of "cannot getCollection of undefined" by passing the docpad object to the function directly. The docpad object was out-of-scope from within the function.