the problem here is that when you use -CreateProfile, prefs don't get
initialized correctly, and you don't get a prefs.js file! this causes
all sorts of problems, as you might imagine.
addition code cleanup, too.
we put up a dialog before we auto migrate. (the mozilla build does this.)
if that pref is false, we just automigrate. (the ns build does this.)
r=bienvenu
make profileExists() part of the nsIProfile interface, so I can
get at it from JS. startCommunicator is now startApprunner.
get RenameProfile() and DeleteProfile() to work better.
make the delete profile dialog size to content.
change the 2nd arg of DeleteProfile() to be a bool, and not a string.
use MakeUnique() to prevent undesired collisions of profiles on disk.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file. it's called history.dat in 5.0, but the file
formats are different. (binary in 4.x, vs mork in 5.0)