Introduce mkGenericContext'

mkGenericContext' takes an additional (String -> String) argument which is
applied to record field names, much like aeson's `fieldLabelModifier`.
Merge branch 'edsko-generalize-mkGenericContext'