Fixed memory management of WBXML encoded XML Public ID in wbxml_fill_header.
Added first test for character set conversions.
Removed unsused parameters in callbacks to handle element start and end.