Fix Config.Set() error handling

Fixes #37
Add Config.Set test
Merge pull request #38 from lytics/fix-37

Fix Config.Set() error handling