Command line options without values

Hi.

I have changed code for converting config to cli options, to allow options without values, e.g. `--session-cookie`.

I've also added some specs to verify those changes.

This is my first pull request, hope it will be accepted.

Regards,
Nenad