Fix and improve rst_char_len

The previously used regex was plainly wrong (see #394). This solution should be more solid.
Add javascript console.debug snippet
rst: Remove comment about requiring Python 2.4+.

Ultisnips needs 2.6, so this is save.
Merge pull request #399 from kevinschaul/master

Add javascript console.debug snippet
Merge pull request #398 from Oberon00/patch-1

rst: Fix and improve rst_char_len
Merge remote-tracking branch 'upstream/master'