Remove old code, start support for CmdStan, only build tests if enabled.