mnot/hinclude — pull request #7 by yberkholz (2012-09-20 08:23:52+00:00)
Title: Add BeforeRequestCallback and public getter/setter for ClassPrefix/BeforeRequestCallback

Add feature `BeforeRequestCallback`

Add public getter/setter for properties
- ClassPrefix
- BeforeRequestCallback

Offers the possibility to change the classprefix and modify the XHR request, e.g.:
```javascript
hinclude.setClassPrefix('hinclude-http-error hinlcude-http-');

hinclude.setBeforeRequestCallback(function(req, url) {
req.setRequestHeader("X-Requested-With", "XMLHttpRequest");
req.setRequestHeader("X-Request-Source", "HTMLInclude");
});
```