Add ability to upgrade and update app cfg

Add the ability to upgrade node and update its app.config in one go.
This is useful when testing upgrade path on Yokozuna where the old
app.config should be copied over but modifications should also be made
before restarting the node.