3722: more advanced re/im support

addresses remaining examples from [issue 3722](https://code.google.com/p/sympy/issues/detail?id=3722)