Handle NUL properly everywhere it should be.
Handle NUL properly everywhere it should be.

svn path=/trunk/hubbub/; revision=4843

servo/libhubbub,servo/libhubbub,prepare/netsurf_libhubbub,prepare/netsurf_libhubbub,adamwight/wmf-parsoid-libhubbub,prepare/netsurf_libhubbub,servo/libhubbub,prepare/netsurf_libhubbub,adamwight/wmf-parsoid-libhubbub,adamwight/wmf-parsoid-libhubbub,prepare/netsurf_libhubbub,Achal-Aggarwal/hibbub,Achal-Aggarwal/hibbub,Achal-Aggarwal/hibbub,servo/libhubbub,Achal-Aggarwal/hibbub,prepare/netsurf_libhubbub,adamwight/wmf-parsoid-libhubbub,adamwight/wmf-parsoid-libhubbub,servo/libhubbub