Fix simplistic `if pid` tests

Add a new function `s:latexmk_check_pid(pid)` to check whether the given
PID is still alive and is owned by a latexmk process.

This allows
```vimL
let g:latex_latexmk_options = '-pvc-'
```
i.e. compile only when explicitely called.

Edit: Fixed formatting.