Fix tslint, and clean up all tslint errors. Close #411
Merge branch 'master' into invalidate-layout
Disable tslint no-unreachable for the  on unimplemented function