phpdoc fixes
added setLastMessage to the thread (denormalization), updated the builders, updated test