Workspaces model: add "Workspace Type" (#592).

Migrations 2 and 3.

See #592.