more flexibale join table alias handling
fixed string comparison
Merge pull request #1590 from rgasch/mypatch

This PR was merged into zikula:1.3 branch.

Discussion
----------

Mypatch

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | 
| Refs tickets  | 
| License       | MIT
| Doc PR        |

Commits
-------

2902c96bdf95126a747bb7be00dd247fced439e7 more flexibale join table alias handling rgasch
b5a305c4cd2f239062ff5a50b2664ee12172c6c0 fixed string comparison rgasch