Added tests for catching exception.

* Added CSYMPY_ERROR
* Added CSYMPY_CHECK_THROW
* Added tests for divide by zero for int and rational