[FEATURE] Use autoloader of TYPO3 4.5

Since mm_forum version 1.9.x requires TYPO3 4.5 the autoloader can
now get used without causing problems with older versions (4.2, 4.1)
as support for those has already been canceled.

Almost all require_once() statements can get dropped after using
the ext_autoload feature.

Change-Id: I691db45a9cf270db97a852717509d32d1f8c7f0d
Resolves: #57278, #51461
Releases: 1.9, 1.10
Reviewed-on: http://review.typo3.org/28753
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[TASK] synch 1.9.x with master

Change-Id: I755f92abd08e201182826051b4509ad48369642f
Reviewed-on: http://review.typo3.org/33525
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[TASK] use TYPO3 DB API instead of direct mysql

Change-Id: Id8731dd194fe035055720d419c5a4ff9bd31e718
Reviewed-on: http://review.typo3.org/33529
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[BUGFIX] SQL error in RSS topics

Change-Id: I02dd08cc60479787bf4cfe62eae229bcfbb53620
Fixes: #49243
Releases: master, 1.9
Reviewed-on: http://review.typo3.org/33531
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[BUGFIX] Wrong Xclass inclusion

Fixes: #58149
Releases: master, 1.9
Change-Id: I5d0ff9e302ba7e1f70ca1ef97f8d3136b587c23f
Reviewed-on: http://review.typo3.org/33534
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[BUGFIX] read count and download count broken

Fixes: #52381
Releases: master, 1.9
Change-Id: I2bbc98165969106b266d6ffeecf11e15494a3625
Reviewed-on: http://review.typo3.org/33536
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[BUGFIX] pid check missing in list_latest()

Fixes: #28222
Releases: master, 1.9
Change-Id: Id33833005a8bcec83ca287736e1a2b5f34192a0b
Reviewed-on: http://review.typo3.org/33538
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[TASK] Move geshi to res directory

Resolves: #10138
Releases: master, 1.9
Change-Id: I7c46d0374e399a7b043aade6f012577efae50468
Reviewed-on: http://review.typo3.org/33545
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>