Switched ptrac script to argparse

(with an implementation of argparse included as a Python < 2.7 fallback)