Move tests out to their own top-level directory

... and general, initial namespace restructuring.
Move some constants about and __futre__ imports
Remove uneeded GetChallengeRequest and get_challenge()

Source doesn't use these anymore and hasn't for years. They were
only included for the sake of completeness.