Switched to Codeception 2.0.* for application template tests

#4111. Don't merge this branch yet, it have to pass first.