Allow methods to be called on Infinity

This makes it so `Infinity` is always written as `(0/1)`.  This could be done only when `Infinity` is in a member expression.

Fixes #597.