Make expression getInitialState(), render() pure

Auditors: alex
Extract out Renderer.getPiece

Auditors: jakesandlund