test for #492
fix #492
Merge branch 'master' into issue-492

Conflicts:
	src/colony/modules/http.js
Merge #525 r=@jiahuang: Send 0-length chunked response on server's `res.end()`

This fixes #492 without changing the logic w.r.t client requests (where body-less messages are more properly expected).
Fixes support for replacer functions. Closes #529
Corrects JSON test to evaluate all tests.
Merge #530 r=@tcr: Fix JSON replacer function and test scripts.

This function was completely broken, my bad.
Adds test for #524.
Generates a unique match array for regex fns. Closes #524.
Allocates only enough memory to generate regex results.
Merge #533 r=@jiahuang: Generate unique match array for regex functions.

Reusing this state broke nested replacer functions in regexes.
Requires string splitting to return empty string. Fixes #534
Merge #535 r=@tcr: Requires string splitting to return empty string. Fixes #534

See testcase for example.
Adds test for shadowed this variables. Closes #361.
Merge #536 r=@tcr: Adds test for shadowed this variables. Closes #361.
Merge branch 'master' into tcr-utf8
travisplexer: pr-137-osx travis ci test