Port dxr-{build,serve} commands to argparse.

Also, use the entry_points attribute of setuptools.