 - Fix up the html5lib-test-tester so it doesn't crash if the number of attributes on a tag is larger than the number expected.  - Remove some unnecessary casts.
 - Fix up the html5lib-test-tester so it doesn't crash if the number of attributes on a tag is larger than the number expected.
 - Remove some unnecessary casts.

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

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