Adding _webform_user_webform_component_types() to statically cache component types

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()`.