Made -replaceUUIDs: public and gave it a unit test

For #145 (+1 squashed commit)
Squashed commits:
[277ff34] Made -replaceUUIDs: public so afflicted databases can be fixed.

See #145.