Fervor is by far the best. Thunderlords is good, but more so for burst champions. Gnar isn't burst, so he does much better with Fervor. Also helps him output more damage early game, and when he rages. Thunderlords falls off way too quickly once you reach mid game or if the enemy top builds a tank item first. Best to stick with Fervor.
I run 9 Marks of Armor Pen, 9 seals of flat armor, 9 seals of flat magic resist, and 3 quints of AS. It's pretty standard but helps him poke hard at level 2 once you have his W available.
I got 18/0/12 for him on masteries. Damage focused is great because if you're doing poorly in lane, you can rush tank but still output damage, or if you're ahead you can rush damage and grab tank later.
I usually build a Black Cleaver, Frozen Mallet, Sunfire, Spirit Visage or Banshee depending on team, Merc or Tabi depending on team, and the last item is usually flexible of being Youmus or another tank item if needed.
Hope that helps :) He's one of my favorite top laners outside of Malphite!