Add in basic test for AbstractNitfSegmentParser code.

Also made AbstractNitfSegmentParser code protected.