Oil ticked higher on prospects for improved Chinese demand, and as commodities staged a strong end-of-year rally.