Added ability to redirect user from subdomain to some predefined url.
deprecation fixes
should work with more complex domains, added some tests
added method test
test skipping sub requests
coding standard as part of travis build
Merge pull request #3 from astina/subdomain-listener

Added ability to redirect user from subdomain to some predefined url.