Make staticbundle use url path for mimetype checking

This fixes an issue when using static-compiler with
a storage backend like django-storage's s3boto that may
append a querystring to the url of the asset.