Install/Update button temporary fix based on "empty" buildId

[MARKET-194] - Changed version comparison to take into account temporary behaviour when build id is not specified.
- Added missing build Id copy from DTO when inferring installed version
- Minor cleanups