Reorder functions in libmx-imapscanner.c

The functions in libmx-imapscanner.c is not really in any order.
Rearrange them in alphabetical order consistent with the header file.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>