A General Approach for Inconsistency Handling and Merging Information in Prioritized Knowledge Bases