Added subthemes functionality - resolves #401

Added functionality and tests for css subthemes support.
Could this be renamed to something like `isVariantTheme()` please?