More namespace cleaning.

More namespace cleaning. Basically, I am removing all scattered using statements and putting them into common.hpp. For some platforms this allows one to more easily change namespaces (e.g. when one uses a custom string implementation).

Since this most likely wont' affect other code, I'll abuse my privilege a little bit and merge when travis passes.