Add HTML, fundamental and nxml modes for use auto complete, new function to find next pair match