Add `warn` and `error` snippets

Add the following snippets:

warn   -> console.warn();
error  -> console.error();
Merge pull request #18 from stickel/master

Add `warn` and `error` snippets