Added ability to have lockwait timeout to background data partitioning.

Added lockwaits to background partitioning to deal with highly contended tables.  Added support for this to partition_data.py.  Overhauled partition_data.py to use modern argparse semantics for arguments.  partition_data.py still needs formal docs.