Adds python script to install dependencies.
Adds script to install dependencies and updates travis ci config to use
it.