Put Lucene Index in TEMP on Azure Websites

In Azure Websites we have some problems with our file-based Lucene lock. Since we only ever read/write the Index from a single process, let's just use an in-process static lock. Also, since the app root is shared among instances, we need to move the index to Temp in that scenario.

Fixes #1284