Add railtie for setting the api key via configuration file

When using this gem in a rails application it's a lot more easier to have a configuration file with the api key instead of the env variable. This commit adds both a configuration and a railtie.