Add is_admin() and $pagenow checks to dpa_is_deactivation() and dpa_is_activation().

Props bbPress revision 5076