Add config for trimetbot, add config parsing to bot

Adds a sample yaml file for configuration, to eliminate the configuration in
the actual bot code. Other code cleanup.