added q to dev dependencies for mocha tests

added gitignore for modules (only for mocha tests)