Port to the new pycangjie API

Note that characters are not sorted by frequency for us any more, but
instead libcangjie gives us objects which have the frequency as one
of their attributes, so we're now sorting ourselves.