Make the amd module name optional.

This is a possible solution for https://github.com/schmittjoh/twig.js/issues/75.