Update BoW algorithm-related codes using MsgLogger class

1) Error -> Warn
2) Extending BowICEI and BowICETrainI from the MsgLogger class