Implement actual overload resolution


This implements host-side overload resolution. If a client invokes a method
by its name instead of its id, the overload resolution tries to find the best
match for the given arguments.
The JavaScript client implementation now defaults to invocation-by-name, except
when a method is invoked by its full signature. In that case, the invocation
is still performed by method id.

Change-Id: I09f12bdbfee2e84ff66a1454608468113f96e3ed
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
commitd91fd4fc4e57a22e1d268e4602017f629cfccf46
parent984c4e6b4dd05561bb39f6daf305e520dfa9f0e6
authorArno Rehn <a.rehn@menlosystems.com>
committerMilian Wolff <milian.wolff@kdab.com>
commit timeFri, 29 Mar 2019 21:06:14 +0000