Transform into an Erlang Application

- Drop C code
- Drop Java Code
- Reindent code properly
- Drop docs relative to C and Java
- Add .gitignore fitting Erlang
- Add example run in Erlang
Adding specs and docs

Also using bit_size for len/1 rather than relying on the bad, bad
size/1 BIF.
Adding tests/demos