massive refactoring

- wrapping all classes to frosttools namespace
- doxygening everything
- damn a lot comments to write
work in progress
refectoring continues

- cleaned up threading API
- another minor changes
fixed namespace wrapping
fixed condition variable waitFor
fixed compiler errors
Merge branch 'release-0.5'

Release is complete