fixed config_parser.py

Improved config_parser.py when parsing [nodes] and [links] sections. Now it is able to handle blank lines in the [links] section and deal with empity hosts configuration.