COOK-2366 create mnesiadir
set the default mnesia directory
completed COOK-2366
COOK-2366 merge