Upgrade ranch dependency to 0.8.4

This matches the version used in the latest stable cowboy release
which is useful for those also depending on cowboy.
Upgrade lager to 2.0.0
Merge pull request #9 from danielwhite/upgrade-dependencies

Upgrade lager and ranch to the latest stable releases