add replaceAll

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

closes #352