Added support for discontinuous function spaces of various types (HDIV, HGRAD, HCURL, and vector and tensor versions of the same).