added snippets for snipmate, improved signature handling