Add SharedArray utilities, expand documentation, add a few tests
Merge pull request #5702 from JuliaLang/teh/sharedarray

Add SharedArray utilities, expand documentation, add a few tests