Merge pull request #1 from marcw/tests

Refactors a bit to be more testable. Add tests.
Merge pull request #2 from marcw/license

Add MIT license file
Merge pull request #3 from marcw/readme

Add README.md file
show travis build status
Add possibility to search for uppercased environment variable
Add dash conversion to underscore