constants: Move constants into subtables

Changes:
- Move constants into <modules>.const subtables.
- Set const subtables as __index metabales.

Purpose: Make it easier to share constants with
subsytems that don't need full access to any
particular module...
Add infrastructure for auto-loading constants from 2da.