Part of #1138 - fix caret rendering in empty paragraphs, void elements and end of paragraphs
Add getScrollTop and getScrollLeft methods to dom module for getting cross-browser scrollTop and scrollLeft
fix code style and JSDoc
remove clearEmptyNodes isStart argument
Merge pull request #1151 from evindor/howling-mad

Fix caret rendering in several circumstances... (howling-mad)