wip: Simple mechanism for mapping custom column types.

Requires implicit macros.

Fixes issue #132.