Improve logs and exception messages in core

Improve log messages as proposed in https://github.com/jubatus/jubatus/issues/791.