Testing suggestions on ajaxify things

Signed-off-by: emanuele <emanuele45@gmail.com>
Some more changes to properly handle the "api" requests

Signed-off-by: emanuele <emanuele45@gmail.com>
And the javascript to handle the notification button

Signed-off-by: emanuele <emanuele45@gmail.com>
Ajaxify'ed disregard button

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Mix of refactoring of the Markasread controller plus adding of ajax "mark board read" and "mark all messages as read" in an ajax fashion

Signed-off-by: emanuele <emanuele45@gmail.com>
On-the-fly refactoring of some queries moved to a function

Signed-off-by: emanuele <emanuele45@gmail.com>
Forgot a change proposed by Norv

Signed-off-by: emanuele <emanuele45@gmail.com>
A function to retrieve child boards + some documentation

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

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Ajax for mark "all messages as read" in action=unread

Signed-off-by: emanuele <emanuele45@gmail.com>
Another couple of queris moved to a function

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

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Removed JSON functions now not used at all

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge branch 'master' into ajax_something

Conflicts:
	themes/default/MessageIndex.template.php
Merge pull request #407 from emanuele45/ajax_something

Ajax something