Removed redundant part of code in compilef.
Catch ZeroDivisionError in is_constant
Add test for issue 4503, closes #4503
Move sets.py to sympy.sets (from the core)
Remove deprecated tsolve function, fix #6484
Remove deprecated zeros([r, c]) and ones([r, c]) syntax, fix #6480
Remove deprecated Integral.transform() inverse option, fix #6479
Remove deprecated option 'simplified' from methods of MatrixBase class, fix #6481
Remove deprecated matrix_add/multiply functions
Remove deprecated DenseMatrix.row(i, f) and .col(i, f) syntax
Remove deprecated Basic.compare_pretty method, fix #4590
Remove deprecated __contains__ method, fix #5488
Remove deprecated statistics module, fix #6485
use `simultaneous=True` to delay evaluation in is_constant
modify simultaneous subs to avoid dummy variables

While subs is smart enough not to put a Number or a product directly into
a dummy variable of something like Derivative, xreplace is not:

>>> from sympy import *;ok=var('x y z')
>>> Derivative(x,y).subs({x:2*z,y:2*z})
Subs(Derivative(2*z, y), (y,), (2*z,))
>>> Derivative(x,y).xreplace({x:2*z,y:2*z})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "sympy\core\basic.py", line 1176, in xreplace
    return self.func(*args)
  File "sympy\core\function.py", line 1030, in __new__
    Can\'t differentiate wrt the variable: %s, %s''' % (v, count)))
ValueError:
Can't differentiate wrt the variable: 2*z, 1

So simultaneous subs (which uses xreplace) was modified to use
a product of dummies in the subs step that replaces all old patterns with
dummy variables so the xreplace step will not fail.
Merge pull request #7503 from skirpichev/4503-test

Add test for issue 4503, closes #4503
Merge pull request #7502 from skirpichev/move-sets

Move sets.py to sympy.sets (from the core)
Remove deprecated separate function, fix #6482
Remove deprecated Plot function, fix #5944
Remove deprecated argument handling in the checkodesol, fix #6483