Add the ability to send a message to the current thread's message queue
(without raising an error)
Merge pull request #970 from rousselk/send_msg_intra_thread

core: Add the ability to send a message to the current thread's message queue