added test for call dispatching
made the test more standard conform
Merge branch 'master' of https://github.com/juju/juju into fix-api-params

# By Ian Booth
# Via Ian Booth (1) and Juju bot (1)
* 'master' of https://github.com/juju/juju:
  Tweak hpcloud boilerplate to turn floating-ip and remove az from example region
Merge branch 'master' of https://github.com/juju/juju into fix-api-params
Merge branch 'master' of https://github.com/juju/juju into fix-api-params
fixed nasty race condition
Merge branch 'master' of https://github.com/juju/juju into fix-api-params
Merge branch 'master' of https://github.com/juju/juju into fix-api-params

# By Dave Cheney (6) and others
# Via Juju bot (7) and others
* 'master' of https://github.com/juju/juju:
  Add additional test
  Make tests easier to follow
  We shouldn't attempt to UTC a zero time.
  provider/azure: don't fail Destroy if AG/vnet can't be destroyed
  Add ResourceCatalog implementation
  Close the state connection, and run the tests.
  Handle constrained AZs
  fixups after merge from trunk
  update to latest juju/names
  Bug #1328716: Clean up CONTRIBUTING a bit.
  state/presence: fixing issues from review
  presencer: make the presencer interface official
  state/machine: check IsManager and only Sync presence watcher
  state/machine: StartSync in SetAgentPresence
  state/machine: use WaitAgentPresence, rename AgentAlive
  Final tweak
  Update for juju/names part 3
  wip
  Introduce Parse{Unit,Service,Machine}
fixed wrong understanding of call order of Serve() and Start(); no more need for a control channel
Merge pull request #107 from TheMue/fix-api-params

Added test for missing API params

Test has been written to check for lp:1152393, but that has been an already fixed duplicate. We still add this little test to explicitely show that the API handles missing params well without closing the websocket.