add argument type(like int or float) support

ref: http://docs.python.org/dev/library/argparse.html#type
unfortunately, the name "type" is already used in dargparse to distinguish
"optional" and "positional" arguments, so "arg_type" is used instead for
the sake of backward compatibility.