Change setupState function to take a details object, and then only do
the initial setup if it's an actual installation event.
Add JSDoc params to setupState function, and a comment about why we're
checking the details.reason enum.
Merge pull request #39 from christhompson/on-install-setup

Change setupState to only run after an actual "install" event