Support function/method overload resolution.

This works by looking at the parameter set in the documentation
and matching it against the parameter set in each overload.

NOTE: This does not work at the moment w.r.t. multiple overloads
with the same parameter set.