Add snippet for defining functions

The 'defs' snippet defines only methods. We need a simple 'def' snippet which expands to a simple one argument function.
Merge pull request #16 from ankushagarwal/master

Add snippet for defining functions