Removed brand mechanism completely. All brand-related functions,
definitions and thread states are removed. The term "brand" is now
behind us. Only a few comments (in inv.c) still use term "brand" as
they might still provide useful information.

Also, changed a tsc to per-core.