Move tests back to own module

Reverts 1e4973c, 0333e46 and #45; closes #89.

Also adds an “update” ant target to run “publish” and “ide” in
combination; if you call ‘ant publish ide’ from the command line, they
have separate dependency, and compilation happens twice.