PROTON-325: modified type enum so that PN_NULL is no longer false; added a test that includes a list with a null in the middle