test(Events): better coverage of events
chore: update karma config to support coverage reports in debug
test(Rect): add coverage for rect class

 - Remove uncovered methods that aren't used and questionably needed.
 - Move errors into errors.ts, just constant strings used to identified and DRY up throw new Error(msg) strings.