Added retry logic to RavenDB initialization

This was necessary due to the "error writing to log file" on
initialization with Azure.