modernize Makefile

copied from the matrix extension. the major changes are:
- get NetLogo jars from network, not an enclosing
  NetLogo build
- add support for actually running tests.txt