Add a state integration

Integrate the 'state' component.

A proper unit test can be found at https://www.drupal.org/node/2386195

Technically this PR depends on https://github.com/LionsAd/service_container/pull/10 to be notice free