Add core/request module

Makes XHRs easier by wrapping a composable, promise based API
Merge pull request #1464

Provide an HTTP request module.