Added change stats and get real IP functions

Also added extensive logging, conversion of items, submission of merc
rice to give xp to merc, submission of shue rice to increase shue level,
submission of noplanit to credit eshop credits.