LOGSTASH-1066 - refactor Windows jar path wrangling into its own method
and call it from both the "if" and "else" branches in expand_path
Merge pull request #570 from jlscott3/LOGSTASH-1066

LOGSTASH-1066 - refactor Windows jar path wrangling into its own method