Remove `using namespace std` from header file

It's considered bad form to import things into the global namespace in a
header. Put it in the cpp files where it is needed instead.
Merge pull request #4349

09eb201 Remove `using namespace std` from header file (Wladimir J. van der Laan)