Cleaning up code

Change-Id: Iec0c7f1ae6235c66a33586e954ca533aab30c26b
Added gerrit info to build metadata

Change-Id: I849cf84c3593a1e01bdbf744d327b8849b8026e1
Branches support

Change-Id: I0f90fffdc82cbce637e2b2f3ab747f0389caab06
Added drafts changes support

Change-Id: Id97a9627a5b346c59fa9b2275f771dbd101a6dbd
Changelog update

Change-Id: I5d2d33d83966b24ca81ee1ee0692f3ea72cc9582