Issue #32 - First stab at allowing people to edit test labels

You'll definitely want to add ?w=1 to the file list, since my editor trims trailing whitespace.  

This change required a fair amount of refactoring, so it will probably require a decent amount of testing.  I did what I could, but I wasn't able to test the submission of tests and proper creation of log lines, since my install can't submit tests at the moment.  Otherwise this seems to work pretty well.  I'd love to add some unit tests around some of the new functions I created (like makeLogLine), but currently there are no tests that I could find so that seemed like a bigger task.  Let me know what you think!