Refactored to use DI container

- Upgraded to behat 3.0
- Use DI container for everything except commands
- Separate test suite for embedded mode
- CS fixes
Merge pull request #114 from phpcr/dicontainer

[WIP] Refactoring to use container