use textContent instead of stripping HTML in undo
Better workaround for trailing newline issue @ chrome

instead of a unreacheable last-line; this fix always adds a new line at
the end which is always usable
Also added declaration + title tag to demo-page

refs #5
me and git have some serious talking to do...

recommitting #3
fix undo index going out of bounds in some cases
don't use a public memoization of the selection in the editor
move highlighting into a plugin
swap the functions around in the highlight plugin for consistency
remove HTML stripping from undo plugin as it uses textcontent directly
Merge pull request #6 from imnotjames/master

Move highlighting into its own plugin
Merge branch 'fix-undotextcontent' of git://github.com/imnotjames/LRTEditor into imnotjames-fix-undotextcontent

Conflicts:
	src/LRTEditor.UndoPlugin.js

Combine localized 'selection' with using textContent in undobuffer
Merge pull request #4 from imnotjames/fix-undotextcontent

use textContent instead of stripping HTML in undo
merged code & .sh_source statements into 1 + disable outline
Merge branch 'fix-undoindex' of git://github.com/imnotjames/LRTEditor into imnotjames-fix-undoindex

Conflicts:
	src/LRTEditor.UndoPlugin.js

only reset undoIndex if it wasn't null already
Merge pull request #2 from imnotjames/fix-undoindex

fix undo index going out of bounds in some cases
add variable for frequently used maxRevision in onKeyup
use call instead of apply - thus stop creating arbitrary arrays
add missing semicolons
minor whitespace issues
use constants instead of magic numbers where possible