misc: move includes to the top to unhide include errors
stat: speedup statistics update

Remove 3 system calls per update call.
This should greatly speedup startup and somehow improve insert/remove
times.

TODO:
Actually statistics can be moved to separate thread effectively removing
statistics overhead in expense of lower resolution.
blob: switched to adaptive mutexes when available
blob: removed experimental EBLOB_DROP_PAGE_CACHE flag

For testing purposes page cache helpers should be used, e.g. vmtouch:
    https://github.com/SaveTheRbtz/vmtouch
data-sort: fixed memory leak in datasort_mkdtemp()

Found with: Coverity Prevent (tm)
mobjects: check return code of rename

Found with: Coverity Prevent (tm)
mobjects: simplified eblob_rename_blob
blob: check return code of malloc

Found with: Coverity Prevent (tm)
blob: improved error reporting
Merge pull request #14 from SaveTheRbtz/master

Faster stats, Adaptive mutexes and Coverity report fixes