CRAFTERCMS-818
Added code to protect against falling into infinite loop when having circular dependencies
CRAFTERCMS-818
minor bug fix
CRAFTERCMS-819
Improved alter table scripts not to run on each startup
Merge pull request #221 from dejan-brkic/2.3.x

CRAFTERCMS-818
Merge pull request #229 from cortiz/2.3.x

Solves CRAFTERCMS-809
Merge pull request #232 from cortiz/2.3.x

Solves CRAFTERCMS-809 (Cookie Domain for other Files)