Optimize css images (reduce filesize)
Lua uses self, not this

There is no 'this' in lua. There is however 'self' a predefined parameter when using colon syntax for calling a function.

http://www.lua.org/pil/16.html
Update testcase for lua self
Merge pull request #1738 from danyaPostfactum/refactor/datauri

Optimize css images (reduce filesize)
Merge pull request #1772 from hartman/lua_self

Lua uses self, not this
Add missing `$id` to those Modes that are missing it.

I've found that the set of modes in this PR did not set their `$id`.
The side-effect of that is that when one of these modes is the current
mode of an EditSession, and one calls `session.getOption('mode')` the
returned value was incorrect.  It goes up the prototype chain so you'd
get something like 'ace/mode/text' or 'ace/mode/html' in most cases.

This fixes that so that if, for example, the mode is set to
'ace/mode/django', the value returned by the option will be
'ace/mode/django'
Merge pull request #1778 from rmsmith/master

Add missing `$id` to those Modes that are missing it.