Cleanup trinary

Complete rewrite of trinary to show usage of Erlang libraries instead
of the existing how-to-write-Eroang-program.
Not sure if anybody else thinks this is a good idea.
The example module (and tests) are renamed after the exercise since an
overwhelming majority of xerlang exercises follows this pattern.
Merge pull request #11 from ebengt/trinary

Cleanup trinary