Added setPos functionality for contenteditable elements
Use 2 space indent
Check for window.getSelection before using it
Merge pull request #5 from jkimbo/set_postion_content_editable

Added setPos functionality for contenteditable elements