Towards a General Framework for Actual Causation Using CP-logic