Expand exception stack trace in log in debug mode
Moved logException to OCP\Util class
Added $app parameter to logException
Merge pull request #5478 from owncloud/core-logexceptionstacktrace

Expand exception stack trace in log in debug mode