Major bug in escapeString causing all kinds of issues.

Fixed a major bug where characters were being stripped on everything using escape string, this was affecting almost everything on the site (even pictures inserted into the DB being corrupted by missing characters), if you added this and are reading(the stripping of characters) please add another function for whatever purpose it add instead of modifying this function.
Merge pull request #36 from nZEDb/dev

jdev to ddev