Help Me to Help You: How to Learn Intentions, Actions and Plans