add pandas to test config, allow testing on all branches
fix travis config
fix nanmask for Python 2