Make OTS_DEBUG useful again

Print the file and line number with OTS_FAILURE_MSG as well.
Switch OTS_WARNING to use message callback