reviving first-phase type-checker; basic utilitites and type environments
Merge branch 'master' of https://github.com/nikswamy/FStar