Use Django form to handle product class dropdown in dashboard

Selecting the product class of the product to create used to be done via
hard-coded HTML and no form validation. It is now done The Django
Way(tm).

It also pre-selects the product class if there's only one.

Fixes #838