Factorize out cascade logic.
Aid attribute sorting, fix install of internal modules.
Test/fix cascade logic for selector specificity.
Switch to new namespace for consistency with other modules like css-syntax.
Draft alternate API.