tidier cleanup

I recently discovered the tidier tool for cleaning up Erlang code automatically. While testing it, I ran it on jsonerl.erl, and these minor changes are what it found.

There is also some dead code removal that was found by tidier's author, Kostis.