New conditional actions doif and setif. Refactored context. Updated RDoc. Bumped version to 0.5.0.