Support OTP versions without application:get_env/3
Merge pull request #1 from timclassic/master

Support OTP versions without application:get_env/3