Updated makefile

 * Makefile now uses a variable for rebar.
 * Makefile now has a xref task.
Rebar config updates.

 * Lager is now included as dependecy since it's used in the console.erl
 * Lager parser transformer is used.
Made all components xref-clean.
Merge branch 'rebar-config-updates' into test
Merge branch 'xreffed' into test
Added poor mans KV store.

* Added read, write and coverge FSMs.
* Implemented related functions in the VNode.
* Added the required files to the template.
* Added a state object.
* Added get/set/list functions to main file.
* Added some difinitions to the header.
Merge branch 'fsms'
Reindented and fixed bugin coverage.
Merge branch 'fsms'