building up

improved and expanded assertion helpers
dried api/core testing
improved tests
hardened json parsing
various small edits
improved xm-package

added many tests for xm classes and helpers
moved tsd specific test/helper code to own file
added xm/typeOf.ts
improved xm/assertVar.ts
extracted xm/inspect.ts
cleaned references