selection: ensure that `this.range` is defined

In `getContaining()` and `placeMarkers()` functions.

Prevents uncaught errors as described in #204.
Test case: https://dl.dropboxusercontent.com/u/14168496/scribe_test/test.html

Clicking the button will throw an exception. I'm using the transactionManager incorrectly?