Revert "use std::regex." due to incomplete regex implementation.

eg. lacking look-behind support.

This reverts commit d7d7b43d00cba69205e758152514e0071d6d6bdd.
use std::async and std::future.
use type_traits.
right angle brackets.
use c++11 language features in algo & dict; hide kctreedb from headers.