removed the ability to add a note with a null key and added a few tests

https://bugzilla.redhat.com/show_bug.cgi?id=975432

I ended up not removing the ability to add a null value, but it looks like it's a bit more involved, but this fixes the null key problem. I also didn't add tests for every function in arg_utils, but I got it started.