datasheet/audittrail: fixed urls for habitat page
wiki: replace abort(403) with PermissionDenied
wiki: add tests for wiki views.