allow io_loop to be specified
fix tests after io_loop refactoring
add reader integration tests
install nsq in travis