Some fixes to coverage and sync, adding more dtrace and moving headers to include.
Removed wrong i directive from rebar conf.
Merge branch 'test' into dev