Fixes schmittjoh/twig.js#45 by escaping all . characters with backslashes
Fix variable scope bug schmittjoh/twig.js#12

This bug was being caused by a faulty optimization. This fix disables the
optimization.
Improve the compatibility of the length filter with that of PHP Twig

This follows from the discussion at schmittjoh/twig.js#53

In short, the length filter shouldn't throw an error if the value being filtered
isn't countable.
Install PHPUnit via Composer, update Composer, and set up Travis CI
Point $_SERVER['TWIG_LIB'] at vendor/twig/twig/lib
Fix the build

The variable scope bug fix (0e601dbc) omitted some important parentheses, which
have now been added.
Tidy up whitespace

Converted everything to four-space indentation, as this was already in use in
the majority of cases in these files.
Improve the README
Change to Twig.js for consistency
Change the scope of ModuleCompiler->functionName to protected.

This is related to
https://github.com/schmittjoh/JMSTwigJsBundle/issues/25. To be able to
output AMD compatible templates, I extended the `ModuleCompiler` (see
https://github.com/kimlai/melikeyradio/blob/master/src/MeLikey/WebAppBundle/TwigJs/Compiler/AmdModuleCompiler.php),
but to do so I need the access the `functionName` property in the child
class.
Ignore tmp directory
Move module compilers into TwigJs\Compiler\ModuleCompiler namespace
Move most module compiler functionality into an abstract base class
Incorporate @kimlai's AmdModuleCompiler and enable

https://github.com/kimlai/melikeyradio/issues/13#issuecomment-34998376
Switch the default module compiler back to Google Closure
Introduce PSR2 compliance across src and tests
Install mocha
Create empty test bootstrap
Add Node.js test for capitalize filter
Replace all capitalize filter tests with Mocha tests