qt5webkit: updated asserts

cleanup, stronger asserts and avoid possible assert on StorageType update