[SPARK-4031] Make torrent broadcast read blocks on use.

This avoids reading broadcast variables when they are referenced in the closure but not used by the code.
Note: This is a WIP and a request for comments. I will update HttpBroadcast and add some tests if it sounds good.

cc @rxin @JoshRosen for review
actually if u need to change josh's other comment, can u fix this one as well? :) thanks.