add CXX flags

show all warnings
change cmakelist

add boost link library only if not use C++11
code cosmetics

- remove unused variables
- change initialization order
- remove unused code
adapt new ThreadPool interface

- remove shared_ptr functor with normal pointer
- remove DummyFunctor(moved to threadpool repo)
- bugfix boost/C++11 header/object usage
- remove unused variables
change variable type
change C++11/fallback(boost) switching

- add definition (cmake)
- remove using... from header
- add header specific namespace constant
- update submodules