#636. Fixed the buildIncrementalIndex method to not add a document to
the list of docs to be indexed if the buildDocument method ever returns
null. This allows an implementor to override the buildDocument method
and return null for any reason if they don't want the document indexed.