Arsenal claimed a hard-fought 2-1 win in their UEFA Champions League Group F opener in Marseille thanks to goals from Theo Walcott and Aaron Ramsey.