Update gitignore for cabal sandboxes
Use HTF in the system tests and fix the java tests