remove unused code + add php 5.6 to travis