InSync is the opposite of RequiresRestart...
bug fix: allow folder names up to length 64 in leveldb

When extracting a folder name from the byte slices used as database
keys, bytes.IndexByte() is used to find and remove trailing 0 bytes.
In case the folder name is 64 bytes long, bytes.IndexByte() returns
-1.  Before this change, syncthing crashed in this case with an
out-of-bounds slice access.

The commit fixes the problem and also introduces a test case which
checks for the presence of the bug.
Remove dead code
Test case and goleveldb fix (fixes #740, fixes #796)
Archive a copy of config.xml when the format changes
Threshold for existing languages to be included (75%)
Translation update
Better version change detection (fixes #808, fixes #810)
Restarting monitor process is still considered a restart (fixes #809)
Slightly improve panic log format (...)

 - Don't repeat the first log lines
 - Print panic timestamp in context.
Print some debug info when panicing in leveldb
ldbGenericReplace: correctly handle files with same version but different flags.

This fixes syncthing bug #819.
Merge pull request #820 from seehuhn/fixes

ldbGenericReplace: correctly handle files with same version but different flags
Reinstate ignore permissions
Refactor out functions in main
Emit info level log when deleting directory fails
Cleanup the code in internal/files/leveldb.go a bit.

This commit introduces the following, cosmetic changes:

- All callers of 'ldbGenericReplace' specify a non-nil 'deleteFn' argument.
  Thus, remove the checks for 'deleteFn' being nil.

- Before this change, 'ldbInsert' took a 'FileInfo' argument and a
  separate argument for the file name, but all callers passed in the
  value of FileInfo.Name as the file name.  Simplify this, by not not
  passing in the file name as a separate argument.  This makes the
  function signature of 'ldbInsert' more similar to 'ldbUpdate'.

- doc fixes
Introducer should default to false (fixes #825)
only convert maxAge from days to seconds once
Folders queried by the REST interface might not exist in the model (fixes #823)