Spring cleaning

- Remove dryrun mode that is not really useful
  to have as the side-effects that anvil creates
  are not really going to work in dryrun mode,
  and it doesn't seem like anyone uses this mode
  anyway.
- Remove root_mode() as this is not used anymore.
- Update wait_for_url to take optional functors as
  well as have it validate the max_attempts that
  is given (before using it).
- Move json helper function to utils.

Change-Id: Ieb0abb814b4e1839afc75b68b42b6f14f18d02fd
Add a actions state mapping

In order to easily know what actions will affect
other actions add a central states file that has
this information and use it in the actions to be
able to determine the inverse operations removed.

Change-Id: I211c1db53b34ceabb6c2a53bb77199c5efe2b5ef
Merge "Spring cleaning"
Merge "Add a actions state mapping"