Relaxed final declarations and protected doInvoke methods

Issue: SPR-12484
YamlProcessor defensively closes InputStream

Issue: SPR-12487
OrderUtils defensively checks for presence of javax.annotation.Priority

Issue: SPR-12489