Initial attempt at refactoring ViewConfig so options can be used by export code - using Gene Sequence page as a test case
Added a bit of inline documentation
Ensure that form_fields method returns a hashref
Avoid error if field undefined
Fixed form configuration
Fixes to get correct values out of viewconfig and into export form
Need to create a viewconfig if there isn't one