Make local variable public
Merge pull request #871 from pwendell/expose-local

Expose `isLocal` in SparkContext.