added api functionality for snippets

and removed revision requests
Merge branch 'master' of https://github.com/mcoelho/CodeSnips-v2