SERVER-16254 Add invariantOK and improve invariantWTOK
SERVER-16199 Use WT bulk cursor for bulk index builds