Adding regression test of singfun rdivide behavior on unbounded domains

This codifies concerns from Issue #1006.

I'm still getting used to Github, so hopefully the two "phantom" commits (merges back down into my `davidagross:development` and then `davidagross:fix-singfun-exponents` branch) don't pollute `chebfun:development` inappropriately.