Make Erlang snippets work in Leex and Yecc files

add 'source.erlang' scope to the code section so the snippet selector hits
Handle function references that contain macro invocations correctly (fixes #14)
Make erlc the default compiler for Leex files
Fix -module expansion for filenames that do not end with .erl