Fixes for various Spring-related issues.

- Added a type attribute to the @On annotation for determining Selector type rather than attemptint to infer it or use sketchy shorthand functions in the expression.
- Changed the code around finding handler methods to better detect various situations.