Add different map formats.

Plain XML, Base64 without compression, Base64 with zlib compression, Base64 with gzip compression.

Signed-off-by: zaharsk <zaharsk@gmail.com>