Use typed getters for configuration settings
Merge pull request #362 from mateiz/conf-getters

Use typed getters for configuration settings

This improves some of the code style after SPARK-544.