bug 1124: Changed sorting order
bug 1112: Fix things popped up in review:

- whitespace/indentation
- require vs. include and possible issue with relative path
- wording
- intval($id)
- unnecessary change of language while the text is not sent through gettext
anyway
- do not use mysql_escape_string on email body
- make strings easier to translate

Signed-off-by: Michael Tänzer <neo@nhng.de>
Merge branch 'bug-1112' into testserver-stable
bug 1112: Get TTP Assurances received, not given.

Signed-off-by: Michael Tänzer <neo@nhng.de>
Merge branch 'bug-1112' into testserver-stable
bug 1136: fixed returns and revoke_cert calls
bug 1136: fixed references $id and $userid
Merge branch 'bug-1136' into testserver-stable
bug 740: removed https from hrefs to wiki
Merge branch 'bug-740' into testserver-stable
bug 740: Do some minor rewording to make the text more fluent.
Merge branch 'bug-740' into testserver-stable
bug 1124: Changed display to [locale] Language (country) eg[de-AT] German (Austria)
bug 1124: Sanatize properly and make code look better
Merge branch 'bug-1124' into testserver-stable