Added support for trailing non-positional arguments
The change makes the old hack with the own trailing-argument-parser "ad_arg_parser" obsolete by using directly the c-level argument parser which is anyhow capable of handling trailing arguments. A few changes were necessary for api doc to handle there trailing arguments as well.
The proc "db_string" is already converted to use native arguments.