Issue #1825952 by jibran: Turn on twig autoescape by default.
Merge pull request #92 from jibran/fix-DataProcessorTest

Fix DataProcessorTest after the messages array changed in drupal_set_message().
Fixed minor coding standard issues.
Added failing auto save test case and added auto save context method.
Implemented auto saving methods in RulesState and made the test case pass.