FIX/API: use inspect.signature for python3...
FIX/API: use inspect.signature for python3
This allows functions with keyword-only arguments to have their
signatures introspected.
Also makes this bit of code 3.6 compatible.
This slightly changes the API in python 3 as all of arguments are
available for completion, not just the optional ones.