add support of modules r.js optimization
fix typo's
small refactoring
Merge pull request #58 from fduch/including-excluding-modules-optimization

add support of modules r.js optimization