add ftdetect for erlang

Adds erlang mode to rebar.config files as well
.app and .app.src files should be in erlang mode
yaws, xrl, es files should be erlang mode
Merge pull request #78 from rgrinberg/ftdetect

add ftdetect for erlang