Fix emitter for member pointer constants.

However, I am not happy with the constant emitter in general.
Should not return dynamic values but register constant wrappers statically.
Add some test runners.