Improve nil handling of transformation functions, fix #81.

Several transformation functions where not handling nil value
specifically, preventing the compiler to do its best and producing
WARNING at pgloader run time.