Make DgSettings work for string and boolean types

DgSettings now works for boolean and string settings, the test cases work
for those, and the debug-print statements are removed.
Suppoint unsigned integers in DgSettings