add a __str__ implementation to APIException

Add a __str__ implementation to rest_framework.exceptions.APIException. This helps for logging raised exceptions. Thanks.
Merge pull request #1501 from jacobg/patch-1

add a __str__ implementation to APIException