Changes IoState_registerProtoWithFunc_ with IoState_registerProtoWithId_
uncomment CAIRO_HAS_PNG_FUNCTIONS
Merge pull request #250 from Teslos/master

Changes IoState_registerProtoWithFunc_ to IoState_registerProtoWithId_