Most of policy apply-to.
Pick an apply-to value heuristically.
Merge default
Reevaluate reified policies on upgrade.
"all" is clearer than "both".
Show apply-to in rabbitmqctl list_policies.
Gross stupidity.
Add support for setting apply-to via rabbitmqctl. Switch to using option for priority rather than optional positional argument, with two options now that approach was starting to look confusing.
So it turns out that the policy tests fail, since we now depend on rabbit_misc:parse_arguments() to fill in defaults for us. But that's not at all unreasonable I think, and in fact rabbit_tests:control_action() does some rather odd things around options. Rather than rewrite everything, just introduce a new variant that is rather closer to what rabbitmqctl actually does, and use that for policy tests. Oh, and add some more tests, that's always good.
Man page updates
Fix inadvertent match of Args. That's what you get for only running the test suite.
Merged bug25572 into default