Nodes shutdown support

Closes #509
Merge remote-tracking branch 'origin/feature/nodes-shutdown' into develop

Conflicts:
	src/Nest/Nest.csproj