specify Cobertura execution phase so that reports will be automatically generated
add explanatory comment on SuppressWarnings
add support for permission checks with a custom security context, resolves #4

also extract common testing into new SecurityManagerPermissionsTest