Merge pull request #356 from shaitan/master

Core: Limited size of io queues to the number of io threads * 1000. (master)
Merge pull request #347 from IIoTeP9HuY/io_stats

Cache stats and optimization
Example: fixed build. Tests: fixed path joining.
Merge pull request #360 from shaitan/master

Example: fixed build. Tests: fixed path joining. (master)
Cache: Compilation on gcc4.4 fixed