[core] make use of PyContracts optional
[playground] make expression_function importable if sympy is not installed
[install] remove unnecessary dependencies