[BUGFIX] Resolve asterisk in allowed tables for suggest wizard

In the suggest ajax script the setting of allowed tables is not parsed for
the asterisk (*). If it is set all TCA tables should be parsed and checked
for access and added to queryTables array.

Change-Id: Icc288bcd31595a5f653aa4ac4faa4602535ecbcf
Fixes: #21588
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/20511
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes