Added very useful openXhr hook

This commit ads openXhr hook which allow to change fetched url or fetched method. It's backward compatible. It's usefull when you need for some reason change an url, for example cross-domain-request proxy, resource translations or  whatever ;) It's just usefull.