Added PHP >= 5.4 as requirement
Fixed unit tests, because due to travisci setup there are other
exception messages and exception codes than in my local env