Rename dimensions option to xhrContext since it holds more than just dimensions

This would be a BC break if someone is using the dimensions option. I also added a mention of CSRF token that would be passed in here so that it is sent in XHR calls as well.