add travis for node 0.10
fix broken try-catch