Updated travis-ci conf to build against python 2.7 because of pyglet version. Implemented set_caption method