Remove regexes for examining class definition

Regex can be fragile and we have the AST already. Examine for
properties.

The removal of "requires" and "uses" replaces the properties with an
empty array instead of completely removing them now due to being at the
property level.
Merge pull request #3 from wombleton/reduce-regexes

Remove regexes for examining class definition