Increased min php version to 5.4.7
Updated to phpunit 3.8
Test refactoring
Updated the docs