Resampling test speed up
Made things work on node v0.8
Final travis-ci config