A few more fixes for the beta

- Could not build a fulltext index due to query error
- Error when working with attachment directories (ugly, sorry)
- We were still mix loading for the quick reply box, a mixture of things needs for the editor version vs the plain text version, I hope I got it correct this time
- Fixed, well at least changed, a problem where mentions was not inserting properly when using wizzy in the quick reply box.