InfiniteLoader: splitting out xhrOptions as a function

This allows extensions to override xhrOptions to provide custom objects
to the xhr() call.
Merge pull request #13 from behance/infinite-options

InfiniteLoader: splitting out xhrOptions as a function