Adding _webform_user_webform_component_types() to statically cache the component types on a given form. This will reduce the high number of queries run by _webform_user_flatten_tree().
Merge pull request #247 from JacksonRiver/7.x-4.x-_webform_user_webform_component_types

Adding _webform_user_webform_component_types() to statically cache component types