Extract methods for tmux options and grepping.
Extract method for finding key values.
Remove reliance on grep.

* This prevents issues with user grep configuration..
Merge pull request #171 from drapergeek/jd-fix-index-issue

Remove use of grep for base-index