Update to APIv2. New avatar system.

Known bugs: items are not shown to buy. Don't check costume for the
avatar.