Added function-based initializers for every options struct.

The basic structure of each function is courtesy of arrbee.
Merge pull request #2014 from mgbowen/cpp-options-init

Function-based options initializers