Fixes #69 by applying lazy sanitization and coercion.}
Expat tokenizes text elements and calls our text callback per each token
causing the behavior explained in #69. This commit does sanitization and coercion
once we stop receiving text tokens from a given XML element.