bin/analyze: write logs, find common key patterns

Added the sarray library (for suffix arrays)

README: updated to describe usage of bin/analyze

bin/analyze:
    - with the --mode-logs option:
        write logs for every mode defined in the config (for config
        debugging purposes)
    - without:
        find the most commond keystroke patterns in the single chosed
        mode