Changed sending intialization
Merge branch 'Development' into Network-Client-Dev
Making the game run with the client. Changed client update a bit so it checks if theres any data on the pipe instead of waiting forever. Also fixed udp sending to send only a single packet.
Fixed the segfault in client_update.
Made sure it works. Added defines to disable networking. Define NETWORKON to enable networking.
Woops forgot to add main.cpp
Doxygen comments in GameplayCommunication.cpp

All existing comments were converted to Doxygen style comments in the
GameplayCommunication.cpp file.
Doxygen comments for more files [Network].

Converted to Doxygen style comments for more functions and files in the
Network component.
Doxygen comments for more files in Network.

All files except ServerCommunication.cpp are done.
Converted existing comments to Doxygen style.

Comments for some functions are remaining. Other than those, all
comments in the Networking component have pretty much been ported to
Doxygen style now.

Documentation will be generated and added soon.
Changed some comments to Doxygen style, refactored receive thread

The receive thread now calls handle_tcp_in and handle_udp_in to receive
the packets, write them to the pipe, and do error checking. All comments
in ServerCommunication.cpp are now Doxygen style (may cause conflicts with
Abhishek's changes).
Merge branch 'Network-Client-Dev' of https://github.com/DComm2013Network/CutThePower into Network-Client-Dev

Conflicts:
	src/Network/NetworkRouter.cpp
	src/Network/PipeUtils.cpp
	src/Network/ServerCommunication.cpp
Lots of random little changes.
Fixed client hang if network not ready

There is technically a potential concurrency problem, but it will only cause
a frame's delay (16ms), so it is negligible.
Updating player lookup table when player isn't on floor.

When the player isn't on a floor, the player entity is destroyed and the player table entry is set to UNASSIGNED.
Merge branch 'Network-Client-Dev' of https://github.com/DComm2013Network/CutThePower into Network-Client-Dev

Conflicts:
	src/Network/ClientUpdateSystem.cpp
	src/Network/NetworkRouter.cpp
	src/Network/Packets.h
	src/Network/ServerCommunication.cpp
	src/Network/network_systems.h
	src/main.cpp
Merge branch 'Network-Client-Dev' of https://github.com/DComm2013Network/CutThePower into Network-Client-Dev
Added error checking to pipe functions, wrote packet caching

Pipe functions now print an error message upon failure instead of
simply returning. Packets will now be properly cached when they're
received, and old packets are freed.
Added thread-safety and meaningful error messages for cnt_errno

The functions get_error_string and write_error can be used to get
the error string and write to cnt_error in a thread-safe way.
Fixed compilation errors

The program now runs again. Still need to implement writing error messages
to the gameplay side instead of simply dying.