Better versioning of dependencies.
Removed some issues mentioned by Sensiolabs insight.