Improve vim tests

This PR adds support for fallback `vim_getwinvar` and adds quickfix_title segment tests. Main aim is to get rid of lots of stack traces from travis build log.