Configurable xhr

Hi, 

So there's the PR to be able to make bullet work without jquery. To do so, the user must provide a option.xhr function to handle requests.

Thank you.