Make font_assets thread safe

I refactored the middleware code the make it thread safe. In addition the handling of the options method has been enhanced ignore request for non-font assets.