Refactor AJAX util to allow headers and data
Merge pull request #79 from box/ajax-refactor

Refactor AJAX util to allow headers and data