[scan-build-py] move argument parsing into separate module

Differential Revision: https://reviews.llvm.org/D30601

llvm-svn: 297307
5 files changed