bin-directory optional, also some pep8
typo
Merge pull request #1483 from edx/jarv/make-bin-optional

bin-directory optional, also some pep8