Refactoring: drop features incompatible with Kilo changes

Dropped are:
* Check for on_discovery field (superseded by node_cache)
* Forcing maintenance mode (Juno UI does it anyway)

Change-Id: Icdb76d7ee3163873c805cf7658749b7212948f26