Making conversions work with type-class materializers.

Fixes #33 #19

Review by @gzm0 @hubertp
Shouldn't this be on the companion of `ConvertRecord`?