Fix GlobScanner, rewrite.
Generate cook version.
Add subcommand version.
Fix glob in java/scala rules.
Clean metaDb if cook version changed.
Make TaskType enum.
Move version to conf.