Programming BOID-Plan Agents: Deliberating about Conflicts among Defeasible Mental Attitudes and Plans