Move test_alloc_dtd_copy_default_atts outof runtests.c

Modify the test and handler slightly to avoid abusing UserData to
pass an integer to the handler instead of a pointer.  Mostly this
just avoids including stdint.h
4 files changed