receive icon directly from resolvers

Dont let external resolvers send a (probably faulty) path to an image
file, but receive the image itself directly. This is consistent with
the way the config _msgtype works, so comression is supported, too.
Merge pull request #144 from crabmanX/resolverIcon

receive icon directly from resolvers