Added subthemes functionality - resolves #401

Added functionality and tests for css subthemes support.
oh...I thought I did call it this way...sorry! :dart: