Break out the actual result logic to new function.

This allows us to manipulate requests prior to sending the raw RPC
request. An example of this is the new NetconfTemplateWorker which uses
the text/template library to allow templating.
Factor out as much handler logic as possible.

This is a first pass at simplifying the handler logic enough to move it
into one simple function.
Add comments and order code appropriately.
Namespace our v2 NETCONF handler to /v2/netconf.