Compress profile files

The change brings in new serialization format:
magic,version,number_of_dex_files,uncompressed_size_of_zipped_data,
    compressed_data_size
zipped[dex_location1,number_of_classes1,methods_region_size,dex_location_checksum1, \
        method_encoding_11,method_encoding_12...,class_id1,class_id2...
    dex_location2,number_of_classes2,methods_region_size,dex_location_checksum2, \
        method_encoding_21,method_encoding_22...,,class_id1,class_id2...
 .....]

The data is compressed using zlib level 1 compression.

Sample app profile statistics on host with and without the change:

App1
    Without - 10ms, 160K
    With - 15ms, 74K
App2
    Without - 4ms, 106K
    With - 7ms, 54K
App3
    Without 3ms, 74K,
    With - 7ms, 54K

Bug: 36281963
Test: dexlayout_test, profile_assistant_test, \
     profman_test, profile_compilation_info_test
Change-Id: Iefa51a5a76adb33eef22aa76cdf85c3fe0a59a2a
3 files changed