fixes #642 adding $smcFunc['htmlspecialchars'] to the log functions

Signed-off-by: Illori <illori@simplemachines.org>
Merge pull request #697 from illori/img_in_admin_log

fixes #642 adding $smcFunc['htmlspecialchars'] to the log functions