Improve mimetypes code based on cowboy_static usage
Update cowlib to 0.3.0

Added support for mimetypes detection.