James Taylor and Steven Mullaney missed out on centuries as Nottinghamshire were bowled out for 320 on the opening day against Durham at Trent Bridge.