move functions to commonjs modules

closes #355
change build task

- build task should create a compiled unminified version of the lib
Merge pull request #357 from epeli/commonjs-modules

move functions to commonjs modules
Put all build artifacts to dist/

And rename node entry point to index.js
Point bower.json to the build artifact #358
Use index.json in component.json
Fix build task

The browserify task creates to SRC_COMPILED already for us. No need to
copy and rename anything.
Ignore build artifacts
Handle carriage returns in lines()

Closes #305 #335
Add jshint config
add replaceAll

- closes #302
Expose global `s` from the UMD build
Implement standalone chaining
Update documentation for standalone
Use .markdown extension for CONTRIBUTING