Fix chebfun domain

This makes sure that  ```g = chebfun(f)``` where ```f``` is a chebfun returns an object on the same domain as that of ```f```.

This is a very short pull request, but since it touches the constructor, I have kept it separate. Any volunteers for a quick merge?