Indexed Scripts : Add timeout

This commit adds a timeout that defaults to 5 seconds to the indexed script get operation.
It also adds a test that attempts a script get before the .scripts index is created.
This doesn't seem to be testing the actual setting being added?