Optimized folding, ref #82
fixed build directory check for output file. fixes #83
Merge pull request #84 from dynosure/build_dir_fix

Fixe build directory check for output file.

Ref. #83 and #84
Don't disable %-mappings when matchparen is off

Ref. #58:  Thanks to Tertium for noticing this.
Minor bug fix
Minor fix to fold text
Fixed autocommand to kill latexmk
* Ref. issue #87

The previous autocommand fails when the tex-buffers are deleted before one
exits vim.  This update changes the autocommand for kill_all_latexmk() to
a buffer specific autocommand for the event BufUnload.

Also add a simple check in kill_all_latexmk to prevent error messages if the
event is triggered after the buffer has been unloaded, which seems to happen
sometimes.
Fixed a minor error in foldtext functions