[BUGFIX] Move unit tests around

The dbal unit tests still do not stick to the usual
structure that was established with 6.0. The patch
moves existing tests to subfolders and changes
naming a bit - no code change in dbal except in tests.

Change-Id: I733386708097e50cb1ce509c54b01a5a3b5ccc8b
Fixes: #43463
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16870
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Adjust hooks after moving/namespacing

Change-Id: I434ca85dda7ac80469a3352c805c3b56a650fcc9
Fixes: #43694
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18930
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] exec_INSERTmultipleRows doesn't check alternative handlers

The function just passes the function call to it's parents insert
function when the type of the current handler is "native".
When using an alternative handler than "_DEFAULT" for a table, wich
connection is also "native", it will directly forward the call without
respecting my mapping for the table to another handler.

Similar to the other methods, this is solved by first fetching
the handler for the current table and then feeding the created
SQL string to mysql_query on given handler link.

The patch additionaly fixes db errors in 6.1 after mysqli switch.

Change-Id: I0c984b355916a99603ed72f0606e173608e4de81
Fixes: #34327
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/19758
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Catch FolderDoesNotExist Exception on links/images

If you have RTE content which have false links/images to files, we
get a FolderDoesNotExistException (FileDoesNotExistException in 6.0).
This should be catched.

Reproduce
* Create content element text
* In RTE change to text mode
* Add <img src="nofile" /> for image
or
* Add <a href="nowhere">link</a> for link
* save

Resolves: #46785
Releases: 6.2, 6.1, 6.0
Change-Id: I7b959825e8e36dc5b1941c9fa411afa321a594fb
Reviewed-on: https://review.typo3.org/21042
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
[BUGFIX] Link to not-existing folder results in fatal error

If a folder is removed from the (default) local storage outside of
TYPO3 while still being linked inside a content element, a fatal error
is thrown.

Catch the fatal error and do not render the link.
Rendering the link text, but no link is the default normal behavior of
links in frontent.

Fixes: #48390
Releases: 6.2, 6.1, 6.0
Change-Id: I7ffbf2e055a3cb204dbe61e145ca54ee18b4982b
Reviewed-on: https://review.typo3.org/21044
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
[BUGFIX] Some TCAdefaults work only with "Page (inside)"

Some TCAdefaults work only with "Page (inside)" and not in
the wizard.

Affected defaults:
* TCAdefaults.pages.hidden = 1
* TCAdefaults.pages.doktype = 2

Change-Id: I71eb301909c31eb8cd160dbe6beadc4ba5102b66
Resolves: #14955
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21067
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Pass $field to BackendUtility::getFlexFormDS

This bugfix just passes an already existing argument
along to the hook method, making the $field variable
available there.

Change-Id: I5337490920a96a8db0af8f8ecc01e967dba0c9ca
Fixes: #39527
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21071
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] uploading extname_1.0.3 (1).zip creates extension "extname (1)"

The function getExtensionFromZipFile fails to sanitize any output after
the version. As the function is only interested in the part before the
version which must be the extension key, remove any trailing characters.

Add a unit test to document this behavior.

Resolves: #48332
Releases: 6.2, 6.1, 6.0
Change-Id: I09b810d4bce214b6fa38e1a62200560f30d88984
Reviewed-on: https://review.typo3.org/21078
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Merge submodule dbal into core
[TASK] Merge submodule extbase into core
[TASK] Merge submodule fluid into core
[TASK] Merge submodule linkvalidator into core
[TASK] Merge submodule workspaces into core
[TASK] Merge submodule version into core