add best matching pattern as request attribute

Fixes #59
Upgrade to Spring 4.x