Added makeTemplateTap, shareLocalDir, copySharedDirToLocal to BasePlatform.

Provided  implementations of the methods for HadoopPlatform and
LocalPlatform.