Fixed #609 - remove setters when readOnly
Fixed #597, fixed broken joinType comparison
Merge pull request #612 from 'stevleibelt/master'
Merge pull request #611 from marcj/master

Fixed #477, Fixed #607, Fixed #604, Fixed #610