Bug 868677 - DOM injection, part 1: Bound localize. r=gandalf

Context::localize now returns a `bound` object which has an `extend` method.
This method can be used to add entities which will be observed for globals
changes that trigger the callback passed to `localize`.