Round the line position to an integer for snap-to-lines cues

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24420
Merge pull request #25 from foolip/round-line-position

Round the line position to an integer for snap-to-lines cues