add pre-upgrade module example

Addied an example of how to compose a pre-upgrade module. I was going to do a full jsdoc of the pre-upgrade module function itself, as well as the callback function that is its 2nd parameter, but it felt like it would be a little too verbose as compared to the rest of the docs.