phetsims/scenery#300 check-assertions.js: fix documentation throughout, fix var names that don't make sense, consolidate redundant tests for 'has'