PROTON-215: Fix bug in JNI described type decoding discovered by new tests.

Add missing calls to next()

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449941 13f79535-47bb-0310-9956-ffa450edef68
PROTON-215: Add tests for described types and arrays to InteropTest.java.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449942 13f79535-47bb-0310-9956-ffa450edef68
PROTON-232: described arrays seem to force the descriptor to be of the same type as the array

Fixed bug in code.c pn_data_encode_node: was always using the parent->type
for everything inside an array, including the descriptor.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1449943 13f79535-47bb-0310-9956-ffa450edef68