libembroidery API cleanup.

list functions now return pointer rather than void.