rename check task because that name usually refers to tests

The new name is checkBeforeBuild and compileAndRun depends on it.
remove outdated debug task