Format VersionStringUtilities to meet Dargon coding standard.
Add FileLock and ReferenceCounter from libwarty 87cb3967f7a01c574dd08e683dcc9d0a1c047376.