Further refactoring

Inline check_clean_shutdown for improved clarity, move index table
recovery up into rabbit:recover/0, fix/update recovery index specs.