Added JavaDoc to Permissions-API.
Fixed spelling mistakes in classes.