Init from the patch in the issue 3198
Formatting fixes
Add __init__.py for sympy/calculus
Add examples to docstring
Add references
Add tests
Autodetect funcs and vars
Test euler_equations interface
Get rid of using numbered_symbols, no integration here
Support lagrangians with higher-order derivatives
Test lagragians with high-order derivatives
Refine docstring