Wibble requests to do HTTP PUT and PATCH correctly

Honour HTTP PUT and PATCH instead of abusing HTTP POST for these
purposes.

The preferred order of requests is:
  -GET
  -POST
  -PUT
  -DELETE (soft)
  -DELETE (hard)
  -PATCH

The implicit behaviour of timespans is simplified as part of this
patch. No beginMax means it will be equal to beginMin. No endMin means
it will be equal to endMax. No endMin nor endMax means they will be
equal to beginMin. No beginMin nor endMin nor endMax means everything is
equal to beginMax.

Some other small cleanup fixes happen as part of this patch (whitespace,
indentation, etc.).

Signed-off-by: Alexander Berntsen <alexander@plaimi.net>
Signed-off-by: Stian Ellingsen <stian@plaimi.net>
Reviewed-by: Stian Ellingsen <stian@plaimi.net>