Merge pull request #7 from olliecwl/master

default ajax onError handler confirms $.ajaxSettings doesn't handle error...
added support for ajax headers