fixes #268: Fix `no-empty-class` false negatives

Includes commit from @iancmyers #268. Fixes #267 and #268.