cpp: Add ServerThread as a friend class of Server.

Seems to me that this should not be necessary since lo::ServerThread
inherits from lo::Server, but it fixes a compile error with g++ 4.8.1.
cpp: Run cpp_test if C++ is enabled.