Implemented the xsd::integer#as_integer() method.
Implemented the xsd_*_value() wrapper functions for plain C.