refactor JXAutoComplete
refactor CommitAction, Mode and TestJXAutoComplete
rename CommitAction in JXCommitAction and move Mode to package class