INT-2312b: Compatibility with SPR 3.2.x and 4.0

From SPR 3.2.x the 'the path mapping' is **required** for `Controller`,
But with SI it is OK, because we can configure HTTP Inbound Endpoint via `HttpRequestHandlerServlet`.

So, add check if `requestMapping.getPathPatterns()` has values and don't register HTTP Inbound Endpoint
as `HandlerMethod` and just rely on user choice.

JIRA: https://jira.springsource.org/browse/INT-2312

INT-2312b: Polishing
INT-3150: JPA: Add support for max-results-expression

JIRA: https://jira.springsource.org/browse/INT-3150