Clean up setOptions API
Clean up setOptions API

This moves the concern of whether or not to emit an event to be internal to setOptions. No need for the calling functions to make that decision.

jordanwalsh23/xero-node