Fixed PHP version issue.
Added .coveralls.yml.
Updated PHP versions in code files.