This adds two simple API wrappers for creating snippets for the user and inside the project. This should help us start work with creating a snippets command. Issue #872