wip: editign of profiles

Add new route for retrieving a profile, load new html, reuse existing
forms. Initial version of unparsing profile to put into application
state.