Transfer hardcoded osr options to options structure

Implements #423. To be done: add preprocessor options for tolf and maxit.
Merge pull request #432 from JohannesPfeifer/osr_crit

Transfer hardcoded osr options to options structure