Fix syntax errors causing compilation failures.
API URL has changed.
Erlang has a stdlib function to handle encoding.
Whitespace change.
Merge pull request #6 from aeden/master

Various fixes