include paths

I really need to make more branches. This fixes relative include paths, and also sets up tests/ to be built with the main project.

If you want *only* the includes stuff I can set up a new branch and cherry-pick off just that commit.