Bug 863103 - Add BackgroundService.runIntentInService() utility method.

@rnewman r?

This pull request is just the `BackgroundService.runIntentInService()` changes from pull request 307.