Add optimizations for getSymbol, getProperty, and invocations of properties of a symbol

I was using the snapshot function as a test target. With these changes, that function dropped from 35 instructions down to 18.