Cleaning up packet handling

Before cleaning packethooks, we need a more sane message handling.
Starting by cleaning up the code.
Moved message handling code into its own cpp

Created a new file (msghandl.cpp) and moved the code from pol.cpp there.
Moved related files to the "network" folder, where they belong. Fixed
include names... (we should make this relative to the project root!)