Urgent BUGFIXES for Testing branch

Need to consider patching 0.8.7 master and all current branches the issues only concern AJAXChat.php and chat.js the 3rd file edit has already been applied to testing branch and is not needed.

This was supposed to just be the [img] tag carriage return bugfix but looks like its piggy backing the cleaned up wordpress integration that's already been applied. This [img] tag carriage return is a pretty severe bug and is an urgent patch for current users of all 0.8.7 and earlier versions and concerns all branches. 

NOTE: This is a  dirty patch that might need to be cleaned up and may not be needed once the new parser is added. I'm not sending to master or any current branches cause I'm not sure it should be used in its current form.  I also haven't came across any reasons it should not be used either.