Edit snippet functionality

Simple edit functionality in place and working. Going to need to put
some checks in so users cant edit each others snippets.