Add default parameter to config.get

Replicate the functionality of Python's dict.get