Sync units module from olso

There are lots of numeric expressions across some projects, such as
1024*1024 , 1024**3, 1000, 1000000 etc. This patch adds binary and
decimal unit constants. Replacing nummeric experssions with these
constants makes code more readable.

Change-Id: I45fb5a10009f22b1eedb07b3e52f1ce40403b068
Merge "Sync units module from olso"