Added possibility to define field to use as index in getAllRecordsForTable(), resolves #45306


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/overlays/trunk@76659 735d13b6-9817-0410-8766-e36946ffe9aa