Fix most of the PSR2 style errors detected by make phpcs
Make the amd module name optional.

This is a possible solution for
https://github.com/schmittjoh/twig.js/issues/75.
Fix PHPCS complaint about non-K&R style braces
Merge branch 'amd_module_name'