Fixed caching problems in non-ajax/non-multi-step forms.

Basically form's were always cached in Drupal 6, in
Drupal 7 this is no longer the default. Although it
happens automatically for forms with ajax elements
or multi-step forms which use 'rebuild' property.