Merge pull request #5380 from amitmurthy/amitm/shmem_basic

SharedArray - take 2
ArrayDist storing distribution info for darrays. Deprecated d* functions.