RavenDB-1700 Fixing the order of freeing scratch pages: we have to free ...

...pages of unused journals first before the other journals because otherwise a read transaction could read an outdated page from the older and not relevant journal