Fixed the Inbox module (no more SQL injection vulnerabilities) and all of the layouts associated that became broken with the introduction of Foundation.

Also added a check in 404 handling for ajax requests to just echo a message instead of sending a 404 header (this broke the Foundation Reveal quite badly)
Merge branch '0-8-0-BRANCH' of https://github.com/2pisoftware/cmfive into 0-8-0-BRANCH