Wildcard domains

Support `*.example.com` etc.

**Note**: Branches from `use_sinatra_activerecord_tasks`.