Check for null when parsing Array type

if an array column contains a null value, then a NullPointerException is raised when calling getArray. This change adds a null check to avoid this.
fix null check
add array import
handle serialization of empty/null arrays
Merge pull request #255 from sjhewitt/patch-1

Check for null when parsing Array type