Ignore text nodes when parsing XMLAnnotation's value

This fixes an error parsing Modulo annotations
(e.g. FLIM-modulo-sample.ome.tiff) in Matlab.
Merge pull request #867 from melissalinkert/rebased/dev_5_0/xmlannotation-parsing

Ignore text nodes when parsing XMLAnnotation's value (rebased onto dev_5_0)