Rename category to perm_link on measurement_type

Also don’t allow non-root systems to change the perm_link once it’s set.
Allow filtering on partial perm_link

GR-57
Merge pull request #28 from CruGlobal/GR-29__GR-57

GR-29  and GR-57