CR-BITMAG-317: partial follow.
Followup on CR-BITMAG-137: Run precommit.sh, and fixed a lot of minor issues (e.g. warnings in eclipse).
CR-BITMAG-137: More smaller warning-fixes.
CR-BITMAG-137: More cleanup of surrounding code.
CR-BITMAG-137: Further followup. Fixed PillarModel...
CR-BITMAG-137: Futher followup. Only missing the message handlers.
CR-BITMAG-137: Followed up on all the request handlers.
Merge branch 'BITMAG-1063' of https://github.com/bitrepository/reference into BITMAG-1063