Changed BasedeviceAgent and refactored code where needed
Merge branch 'development' of https://github.com/flexiblepower/powermatcher into development_thijl
changed the comment in the doBidUpdate of TestBadeDeviceAgent
Merge pull request #163 from flexiblepower/development_thijl

Change accepted. Looks good.