Sort cache to make unique results for jdk8
Added resolveResultValueType to detect result value types for non-direct sub types
Decrement interceptorIndex on exceptions thrown from an action (fixes #100)
Added testcase from issue 100