remove magit-define-command, magit-define-inserter

use defun instead magit-define-command and magit-define-inserter