Allow control of leaked reference logging

• Allocation tracing is now a standard feature
• Logging of leaks can be disabled; removes superfluous messages during unit tests