call getErrors instead of errors
Improve findByAttributes/getByAttributes behaviour

findByAttributes will return null if array of attributes is empty.

getByAttributes will throw an InvalidArgumentException.
add @throws for getByAttributes
update for travis
fix composer.json for travis
initial work on filters