Pecco Bagnaia wrote his name into the history books, edging out Jorge Martin for victory while Marc Marquez claimed third