Add functions to analyse the composition of payload.

payload_composition.js defines functions that could parse the
manifest of payload and do statistical analysis based on different
metrics. Currently, there are two functions:
1. Number of blocks (in target build) that are being operated,
categorized by the installation operations.

2. Disk usage of the payload.bin, categorized by the installation
operations.

The output is currently a list of pairs: (Operation, Number), which
can be later turned into input of visualized element.

Test: Mannual Tested.
Change-Id: I07defc23f6f04616656d8c9d3a7ecd05026bbbff
6 files changed