Fix picklability of Optimizer
Fix picklability of Optimizer

Parallel() objects are not picklable as they contain locks. Create the
instance on demand instead to avoid this problem.

Fixed some pep8 complaints on the side.

scikit-optimize/scikit-optimize,scikit-optimize/scikit-optimize,ccauet/scikit-optimize,betatim/BlackBox,betatim/BlackBox