Makefile: clean up rebar info file
Update .gitignore
Always enable rebar info file
Refactor rebar info file structure

* introduce a version marker
* use a record
* check file compatibility
Introduce helper fun to construct rebar info file path