use C++11 for_range; use boost string methods
Merge branch 'master' of github.com:weng-lab/zi_lib