- applied almost all comments to the hash_map
- semaphore, event, spin_mutex and mutex need to be created with constructor rather then with create/destroy method (solves memory tracker issues/hacks)
Merge remote-tracking branch 'remotes/origin/master' into multithread_refactor

Conflicts:
	src/core/pc/spin_mutex.cpp
- default values for mutex, event a spin mutex
- more simple implementation of spin mutex
- fixed build.
Merge remote-tracking branch 'remotes/origin/multithread_refactor' into memory_tracker

Conflicts:
	src/core/pc/spin_mutex.cpp
	src/core/spin_mutex.h
Merge remote-tracking branch 'remotes/origin/containers' into memory_tracker
- removed hack
- fixed some memory leaks