Minor corrections in JVM codegen

- use mapSignature instead of mapToCallableMethod where possible
- use resolvedCall where possible
- fix some warnings and style issues
Add test for obsolete issue

 #KT-3311 Obsolete
Fix errorlevel returned by kotlinc-*.bat scripts

Propagate errorlevel returned as an exit code from the compiler to the outside
world.

This may not work on Windows XP or earlier, but is required for Windows 7+
Minor cleanup in ExpressionCodegen.pushMethodArguments
(TEMP) fix anonymous object super calls
Don't use ExpressionCodegen's internals in StupidSync

invokeMethodWithArguments should be the only publicly used method
(TODO) Improvements to object super calls