add phpunit as dev requirement
isntall requirement with a better way
use phpunit 4.x instead of 3.x
Merge remote-tracking branch 'github/pr/170' into v0.8