libmpv/mpv.def: add mpv_command_node[_async]
client API: check result ptr in mpv_command_node

This follows the docs, which say the result parameter is optional.
build: install input config files into doc dir

Users using binary packages don't have obvious access to them, so this
seems like a good idea.