Ok, done.

Few notes:
- we can't handle Langangians with the second derivative (and higher)
- all function free symbols are variables, not parameters (as in the @asmeurer's example)