Get rid of crypto warnings

Also should be backwards compatible options back to R14 based on
compile macros in rebar
Merge pull request #115 from heroku/R16B01

Crypto leap forward for R16B01+