[B.A.T.M.A.N.] [PATCH v3 14/42] batctl: Prepare command infrastructure for shared functions