lib: moved mimedump.h from tools/ into the library (mimeio.h)