Clone of the matchit plugin from http://www.vim.org/scripts/script.php?script_id=39 (v1.13.2)