Move header files out of include/ dir.

The src/include distinction really only makes sense for libraries.
Make bin/ scripts work from any directory.

This makes it a lot easier to work with Emacs tooling, etc.
Add bin/test since rebar's test task doesn't work.