scrutinizer cleanup

- reduce code duplication via updateObject() method
- cleanup getPart()
- remove debug
- ensure arrays are always defined
- centralize response decoding and error handling
- upload code coverage to scrutinizer
- add scrutinizer config
- remove php 5.3.3 from travis ci config