Convert examples to the new MR API

This PR converts examples that still use the old MR API to the new one. The `ipcount` example has been removed, since the pydoop vs dumbo section is going to be left out in the upcoming docs update