Merge pull request #224 from dejan-brkic/2.2.x

CRAFTERCMS-819
Solves CRAFTERCMS-809
Merge pull request #228 from cortiz/2.2.x

Solves CRAFTERCMS-809
Solves CRAFTERCMS-809 (Cookie Domain for other Files)
Merge pull request #231 from cortiz/2.2.x

Solves CRAFTERCMS-809 (Cookie Domain for other Files)
Solves CRAFTERCMS-804