Add edit functionality

Fixes #64.
Merge pull request #69 from Cottser/edit-virtualhost

Add edit functionality