plot_implicit and legend

The return value of self.ax.legend() should be checked first and then
the call to set_visible() be made.
Merge pull request #7400 from amitsaha/plot_implicit

plot_implicit and legend
new assumptions for inverse trig functions
fixes pyglet doctest problems

fixes TypeError and KeyError exceptions in the pygletplot package

    Traceback (most recent call last):
      File "/usr/lib64/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest sympy.plotting.pygletplot.__init__.PygletPlot[29]>", line 1, in <module>
        p[2] = -x**2-y**2
      File "sympy/plotting/pygletplot/plot.py", line 320, in __setitem__
        f = PlotMode(*args, **kwargs)
      File "sympy/plotting/pygletplot/plot_mode_base.py", line 164, in __init__
        self.style = self.options.pop('style', '')
      File "sympy/plotting/pygletplot/plot_mode_base.py", line 174, in w
        r = f(self, *args, **kwargs)
      File "sympy/plotting/pygletplot/plot_mode_base.py", line 327, in _set_style
        v = ['both', 'solid'][step_max > 40]
    TypeError: list indices must be integers, not BooleanFalse

    Traceback (most recent call last):
      File "/usr/lib64/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest sympy.plotting.pygletplot.__init__.PygletPlot[30]>", line 1, in <module>
        p[2].style = 'wireframe'
      File "sympy/plotting/pygletplot/plot.py", line 301, in __getitem__
        return self._functions[i]
    KeyError: 2

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
remove redundant condtion

We already know that radicals is True since the preceding line
returned if `not radicals` was True.
old assumptions for inverse trig functions
A minor change in tests for new assumptions
doctests: fix problem with decorators

supersedes #7399

with this commit all decorated functions/methods containing doctests,
where the used decorator is != ``property`` are executed now and not
silently skipped.
runtests.py: it is safe to remove 'except ValueError' in finder

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>
Merge pull request #7402 from thisch/doctestdecofix

doctests: fix problem with decorators
remove redundant code and fix typo

The check for the function being zero is part of the standard
'free_symbols' and need not be repeated for the specialized
form of the routine in `_free_symbols`.
Merge pull request #7356 from debugger22/arctrigo

Fixed positive assumption for arc trigonometric functions
Merge pull request #7405 from smichr/polys

remove redundant condtion
Merge pull request #7401 from thisch/pygletdocfix

fixes pyglet doctest problems
Merge branch 'master' into misc
Fix test in 01035e4