Set BOOST_THREAD_VERSION = 3 (ref gh-10).
Adapt to BOOST_THREAD_VERSION = 4 (ref gh-10).
Clean up joinable threads at destructor, necessary also for version 3 (close gh-10).
Avoid try_join_for() due to strange dead lock (close gh-13).
Open by sqlite_open() always (ref gh-12).