Fix range's getStartPosition/getEndPosition, which don't work as adverti...

...sed.

Migrated from https://code.google.com/p/closure-library/issues/detail?id=615