THRIFT-2648 cleanup erlang lib

client: erlang
patch: alisdair sullivan (alisdairsullivan@yahoo.ca)

moves tests for the thrift compiler generation of files to /test/erl, properly removes artifacts from test
suite runs, adds module listing to .app.src for better behaviour when using erlang tools like relx and
rebar and modifies .gitignore to not ignore relevant erlang test components
THRIFT-2647 compiler-hs: don't decapitalize field names, do decapitalize argument bindings

Client: Haskell
Patch: John Chee