Expose image writer gd internals via API
Added main for libpiece
Added Python extension
Added Python extension