Refactor spec_helper.rb.
Replace CONFIG hash with environment variables for less complexity and better integration with Travis CI.
Update config.sample.yml to reflect the new key name changes.