Match wildcard subdomains

Was looking for an easy way to allow *.example.com, came across pull request #22 and liked the suggestion of using fnmatch rather than regex.

How is this? Think it covers all the bases and have included a few unit tests to cover the additional functionality.