A function to retrieve the discussion id from a pm id and one to get all
the pm IDs in a discussion

Signed-off-by: emanuele <emanuele45@gmail.com>
Seems more readable

Signed-off-by: emanuele <emanuele45@gmail.com>
Make action_pmactions query-free

Signed-off-by: emanuele <emanuele45@gmail.com>
A function to retrieve all the PMs older than a certain date

Signed-off-by: emanuele <emanuele45@gmail.com>
 Get rid of the callback for the PM subjects

Signed-off-by: emanuele <emanuele45@gmail.com>
Couple of missing things (some my falt some not :P)

Signed-off-by: emanuele <emanuele45@gmail.com>