Update parser.rb to include Haskell and Erlang comments

Haskell (`.hs`) has (single line) comments beginning with `--` and Erlang (`.erl`) with `%%`.
Merge pull request #100 from tel/master

Update parser.rb to include Haskell and Erlang comments