Add initial version of Snippet System for Text Editor.

Lets you create snippets from text selection easily from a menu in the text editor header.