Support sub-themes

If BaseBuildingBlocks is not the default theme, check that the default theme is a sub-theme of BaseBuildingBlocks