Get bin tests working on Windows (Fixes ##228)

On Windows the tests in tests.test_bin were failing for reasons listed in #228.
I got them working by create batch file wrappers for bin/hy et al and tweaking
the commands being tested where necessary. I also introduced a wrapper for
tests.test_bin.run_cmd to make running OS dependent commands less cumbersome.