add :type command and fix bugs in term typing
Merge branch 'master' of https://github.com/ptal/nominal-workbench