Add command histories

- Add option to save command histories.
- Keep command histories when Run Command Action was run.
Fix max command size
Add RunCommandHistoryTest
Add test case for RunCommandHistoryTest
Merge pull request #31 from junichi11/command-histories

Add command histories