permissions: allow permission arguments to be retrieved in dict form
apidoc: add a RedirectAnnotation object, fix inheritence issues with AnnotationStructures