Set spark mem based on minimum of slave,master RAM
Fix slave memory command
Remove unneeded import
Merge pull request #4 from shivaram/master

Set spark mem using slave memory