Migrates to non-recursive Makefile

Single Makefile.am build files inside src and test
Now the generated binaries stay at top level directory
Change script paths to point to the correct location

Delete result files before running tests.
This avoids incorrectly passing tests because of older files left behind.