Refactoring and cleanup.

Switch over to use tools.mk and address all open dialyzer warnings.
Remove crash dump file.
Move include file to the include directory.
Add additional Dialyzer information.
Adjust formatting and conditionalize eunit include.
Merge pull request #1 from SyncFree/feature/csm/adjustments

Refactoring and cleanup.