[bugfix] corrected media type parameters for %rest:consumes %rest:produces, also now handles quality factors in HTTP Accept Headers