make ess-history-file buffer local

  And move history file detection into ess-multi.
  This avoids starting R with .juliahistory and vice versa.

git-svn-id: https://svn.r-project.org/ESS/trunk@5562 0bbaf3bd-34e0-0310-bf65-c717079852d4