[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.

Resolves: #57278, #51461
Releases: 1.9, 1.10
Change-Id: Icc8fec182cb26e2f862ef83905c0a1edd97bdba6
Reviewed-on: http://review.typo3.org/33524
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: I44d5304b88676f35573466544b9e4d63d79fd62d
Reviewed-on: http://review.typo3.org/33528
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>
[BUGFIX] SQL error in RSS topics

Fixes: #49243
Releases: master, 1.9
Change-Id: I47247446fd64785352e3ed80c004af5f18591719
Reviewed-on: http://review.typo3.org/33530
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: Ie0dc540793a18d8eb5471f3d1e35827ac83c4e4a
Reviewed-on: http://review.typo3.org/33532
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/33535
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/33537
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/33544
Reviewed-by: Simon Schaufelberger <simonschaufi@googlemail.com>
Tested-by: Simon Schaufelberger <simonschaufi@googlemail.com>