libide/snippets: add stripprefix function
Submitted by Igor Gnatenko
Link to original bug (#753280)
Description
it's needed for snippets in rpmspec python-foo.spec rubygem-bar.spec go-baz.spec
We want to get foo, bar, baz as real name, without prefix
Signed-off-by: Igor Gnatenko ignatenko@src.gnome.org