When achievement is unlocked, update various user stats

User option was already implemented via
dpa_[get|update]_user_unlocked_count(), but it wasn't hooked up
anywhere.
Store a user's last unlocked achievement ID