added method stubs to set/get allowed hostnames
added test stubs
added comments and additional test stubs
implemented tests
introduced new failure message type, added method stub
added tests
implemented hostname matching
introduced additional message variable
refactoring: extracted method
added test that detects the ID clash mentioned in #63
each added captcha gets a unique ID now (fixes #63)