fix for issue #310 (masked arrays not returned correctly when
variable has non-native endian-ness)
add test for issue 310
Merge pull request #311 from Unidata/non_native_endian

fix for issue #310 (masked arrays not returned correctly when variable has non-native endian-ness)