Living with Inconsistency and Taming Nonmonotonicity. Datalog Reloaded