Fixing bug in last rev of FieldType.getArrayType(), adding more tests to cover that, and replacing more switch blocks with algorithmically-determined cached state.
Merge pull request #13 from pfarner/nullable_arrays

Found bug in last pull request