test: add extra checks in simple/test-cli-eval
Merge remote-tracking branch 'origin/v0.8'

Conflicts:
	deps/uv/include/uv.h
	src/node_crypto.cc
installer: reapply b21c8e0b, honor --without-npm

This bug was already fixed in the v0.8 branch but git skips the patch when
merging v0.8 into master. Reapply it manually.

Fixes #3961.
build: add configure option to build with ninja
build: add ninja support to Makefile
doc: don't use &apos;

Ref: #3964
http: make http.ServerResponse emit 'end'

This used to be the internal 'finish' event. Make it public so API users will
know when the response has been sent completely.

Fixes #3855.
tls: async session storage
v8: upgrade to 3.11.10.22
v8: reapply floating patches
v8: fix semaphore on MacOS

Landed upstream: https://chromiumcodereview.appspot.com/10867009/
cluster.worker description and examples ere missing from the top level of docs
http: respect HTTP/1.0 TE header

A HTTP/1.0 client does not support 'Transfer-Encoding: chunked' unless it
explicitly requests it by sending a 'TE: chunked' header.

Before this commit, node.js always disabled chunked encoding for HTTP/1.0
clients. Now it will scan for the TE header and turn on chunked encoding if
requested and applicable.

Fixes #940.
util: make util.inspect() work when "hasOwnProperty" is overwritten
buffer: implement Buffer.prototype.toJSON()

Returns an Array-representation of the Buffer.
Closes #3905.
docs: fix typo in Buffer#toJSON() docs
configure: add a "--dest-os" option to force a gyp "flavor"

This makes cross-compiling easier. i.e. from my mac:

    ./configure --dest-cpu=arm --dest-os=linux
installer: don't install header files

They are no longer necessary now that node-waf has been removed. People need to
switch to node-gyp.
npm: Upgrade to 1.1.61
stream.pipe: Don't call destroy() unless it's a function