metadata navigation uses resource chain
simplifiy if statement
set class to active on current metadata sub-tab
set metadata tab to active if in metadata
make content tab active if in sentences view
Merge branch 'fix_metadata_navigation' into develop
Merge branch 'develop' into develop.ontohub.org