Merge pull request #29 from fezfez/karma-unittest

Coding style
Merge pull request #30 from fezfez/karma-unittest

Coding style
Merge pull request #31 from fezfez/karma-unittest

Coding style + replace require by define
Merge github.com:fezfez/codeGenerator into karma-unittest
Merge pull request #32 from fezfez/karma-unittest

Add unitest
Merge github.com:fezfez/codeGenerator into karma-unittest
Add unit test