minor code cleanup
drop ruby 1.8 support
cleanup travis config