use pgrest.cli to run.

- move ensured_opts and get_opts to src/cli.ls
- let pgrest.cli recived parsed opts not just pgrest meta as first argument.
rename get_opts to get-opts.

- also rename ensured_opts to ensured-opts.
add pgparam in middleware.
add cli testcases.
let ensured-opts to check prefix, port, host.