Theme container adds a div around something. We will be using this for many, many things in core, not just form elements, so it should be moved out of form.inc and into theme.inc.
Here are examples of some things that will be using theme_container:
- theme_more_link
- theme_system_compact_link
- theme_more_help_link
- @todo more