Move on_incoming_packets, batching and its auxiliar functions to
community.py
Also remove obsoleted tests.
Merge pull request #210 from whirm/incoming_packets_refactor

Move on_incoming_packets, batching and its auxiliar functions to community.py