added flag for represented work.
added encoding for has representation indicator.
Merge remote-tracking branch 'origin/master' into sz-dsc-287
merge in latest update.
Merge remote-tracking branch 'origin/master' into sz-dsc-287
code clean up.
Merge pull request #245 from nla/sz-dsc-287

Sz dsc 287