Update do_message_ops.php

Fix: Batch operation is not working.
Update functions.php

Fix: expand %var% variables
Move "$num=0" to line before "$itemnum = array($num)"
Merge pull request #10 from endelwar/bugfixing

Bugfixing Sprint
Merge pull request #9 from jishon/master

Batch operation doesn't work & Spamassassin's config wasn't showed in Tools
Merge pull request #11 from endelwar/better-filesystem-free-space

Better filesystem free space
Merge pull request #12 from endelwar/fix-viewpart-missing-message-bug

Fix viewpart missing message bug
Adding README.md
remove database name from `create` and `alter` table to permit a different db name in installation
adding mysql error number to query debug information
Missing quote around function name
using png logo instead of gif
indentation
Merge remote-tracking branch 'upstream/master'

Conflicts:
	mailscanner/detail.php