Fix off-by-one error with location list diags
Further support for diag line_num < 1

Fixes #1028
Updated to latest ycmd

Fixes #1033.