Add more fine-grained permissions for ignoring permdefs.

ignore-add-perm and ignore-remove-perm

This allows more fine grained control when to ignore changes on
permdefs, allowing to ignore only adding or removing the permdef.

This might be followed by doing the same for the filter-perm.