Core/DBLayer: Some corrections where UPDATE was being used instead of REPLACE.

- also removed the unneeded garb that was lingering around in CharacterDatabase.cpp