Allow JCR installer to recover from being paused indefinitely

Details

Description

With SLING-3747 the JCR installer provided a mechanism for pausing the installer to support cases where installation can result in restart of installer bundle itself.

However it may happen that once this flag is set the process gets abruptly killed and the flag remain set. In such a case the installer would remain paused and a user would have to remove the flag for it to work again. To support such cases there should be some kind of timeout such that installer does not remain in pause state forever.