find singularities for any expression

`poles` was added as a keyword; when False it allows the singularites of non-rational expressions to be returned.

together, rather than simplify, is now used and solve is applied only on extracted denominators