Specify additional headers for RESTAdapter.

This is code from https://github.com/emberjs/data/pull/803, updated with current implementation that uses a promise. The test doesn't actually test that we do `xhr.setRequestHeader` - merely that we pass headers along. If someone could propose a way to stub just the sending of the request and not the entire ajax method, that'd be great.