Add url.split_args.

This also corrects a bug when an argument was empty (thanks Leonard de
Ruijter). Closes #123.