Improve support for decltype(e) specifiers.

Still very basic but at least now it can be used to define
classes.
Enable name lookup when executing the `symbols' unit tests.

Also, fixed the pretty printer for ClassType so it prints
the correct class key.
Initial naive support for function declarations with trailing type.