remove several warnings / deprecated functionality associated with
warnings
more selective warning about dropout being stochastic
pep8 (mostly auto)
fix docstring wrapping
Merge pull request #1237 from goodfeli/stochastic_cost

Add Cost.is_stochastic to make warning more selective