Mitch Marsh scored a brilliant century before Tymal Mills marked his debut with three wickets as Perth Scorchers beat Hobart Hurricanes to go top of the Big Bash League.