Add type inheritence for symbols

A production requiring Foo will now match SubtypeOfFoo.

Signed-off-by: Casey Dahlin <casey.dahlin@gmail.com>