fix unisolated test
Various optimizations to bulk adding of packages and index init

 see doc/optimization
work with new optimizations, respect not writing index html
master cleanse script