add support for specifying type names instead of types directly

Fixes https://github.com/dobarkod/typedecorator/issues/8