Append idle Index when recorder pending transactions is emptied

Was previously removed because of possible coruption scenario which is now taken care. The main benefit is that the last record is now exposed as consistent timestamp even if no new mutation transaction are recorded.
Merge pull request #167 from wajam/manu-idle-index-is-back

Append idle Index when recorder pending transactions is emptied