Compile with C++11 standard
Replace `NULL` with `nullptr`
Use the range-based for loop
Use `auto` to avoid figuring out the actual type
Create vector with initializer list
Remove whitespace between right angle brackets
Use `decltype()` to deduce the actual type
Merge branch 'cpp11'

Conflicts:
	include/seg.hpp
	src/seg.cpp
	src/trie.cpp