fix some of the test brokenness
fix bug discovered by fixed test
remove obsolete build files and startup scripts
convert more lib jars to managed dependencies