resolver-debug: add missing dependency and refactor
This adds missing dependency on luci-app-commands. This package can't be used without it and it even fails installation unless config file and section from that package is pressent.
This also little bit refactors package to be cleaner.
On notice to @jschlehofer
Edited by Karel Koci