Implement DOM Range setStart/setEnd()

Relate: #1236

This is the first step to support Rang.