Add command-line parsing, `commit` and `init`

This adds basic shorthand syntax for adding battle log entries and basic
local battle log support.