Extend .gitignore

Add some Erlang specific exclusions.
Remove leading slash as it is not necessary.