Add MessagePack support

Return the dependency cache in msgpack instead of json when requested - fixes #55