Makefiles now create objects and libraries in bin

Tests are still done in src, but this is probably alright. Since the project
does not compile now I couldn't test this properly, but it should work as far as
I can tell.