Update

* Rewrite Makefile to use rebar
* Remove warnings due to deprecated functions in asn1rt