better imenu in web-mode,

basically you can:
- write two or three lines of set up code to get much better result (I already compared with latest sublime3).
- set up is optional. default set up is already good.
- it does not matter what strange web template language you use (freemarker, jquery template ...)
- I didn't use any web-mode API, so you can port code to any other mode like nxml-mode or html-mode

The patch:

I will submit the  patch to web-mode this weekend.
Shared publiclyView activity