Add support for work attributes

For https://bitbucket.org/metabrainz/musicbrainz-server/pull-request/780/mbs-5863-dynamic-work-attributes-ui/diff