Refactor batctl calls into python class.

This drastically reduces the logic implement in mkmap.sh and also
supports multiple batman mesh interfaces.