networks: Refactor for simplicity and brevity
Created by: SunilMohanAdapa
- Make connection adding/editing forms inherit from base.
- Make the forms responsible for extracting cleaned data.
- Use dictionaries for passing around settings values while adding/editing connections.
Having written most of the original code, @steglicd can review this patch (if he chooses to).