Encode a few extra flags per index entry.

This will allow us to have the same name in different "states" in the
index at the same time. Which in turn seems to be a very simple way to
merge.
diff --git a/update-cache.c b/update-cache.c
index 065705a..134ba74 100644
--- a/update-cache.c
+++ b/update-cache.c
@@ -107,7 +107,7 @@
 	memcpy(ce->name, path, namelen);
 	fill_stat_cache_info(ce, &st);
 	ce->ce_mode = htonl(st.st_mode);
-	ce->ce_namelen = htons(namelen);
+	ce->ce_flags = htons(namelen);
 
 	if (index_fd(path, namelen, ce, fd, &st) < 0)
 		return -1;
@@ -259,7 +259,7 @@
 
 	memcpy(ce->sha1, sha1, 20);
 	memcpy(ce->name, arg3, len);
-	ce->ce_namelen = htons(len);
+	ce->ce_flags = htons(len);
 	ce->ce_mode = htonl(mode);
 	return add_cache_entry(ce, allow_add);
 }