Added specific record tests for primitive arrays. (#81)
* Fixed bug in specific record support for primitive arrays.
Addressed bugs related to missing constructors in the PrimitiveArrayList
and its child classes. Also refactored those classes slightly to reduce
boilerplate.
Altered the meta code:
- List construction does not rely on Collections.emptyList() since that
is incompatible with the primitive list classes.
- Fixed a case where list instantiation wasn't guarded by getShouldRead(),
when schema evolution gets rid of a list field. This would previously
cause a NPE during code gen.
- Refactored the list handling code so that list instance reuse occurs
even though the particular payload being deserialized has zero elements.
* Code gen for PR #81