fix routing problem when the url finishes with "/"
adds a few missing mime types
brings a couple of shortcuts from app_view