core/network.py: Use absolute import statements

Not only do we need some consistency across all the code files, but also,
while trying to add unit tests, I've realised that importing these Python
files from a file outside "netcontrol/" doesn't work.