Add loki library

loki refer to: http://loki-lib.sourceforge.net/
a patch of SmallObj.cpp refer to:
https://sourceforge.net/p/loki-lib/patches/25/