Implemented settings frame work.

Added class Settings which handles reading and writing machinery's
configuration file. The file default_settings.rb contains the
default values used when no configuration file is present.
Better use `has_key?`