Consistent number handling in StandardTypeComparator (BigInteger support, doubleValue fallback)

Also includes a fix for the Comparable raw type invocation.

Issue: SPR-9913
Issue: SPR-12353
Reimplemented ServerEndpointExporter to avoid BeanPostProcessor role

Issue: SPR-12340
Polishing