Merge pull request #421 from taketwo/add-doc-generation-on-travis

Add doc generation to Travis build script
Upload generated docs from Travis to Github

based on https://gist.github.com/douglasduteil/5525750
Travis setzt TRAVIS_PULL_REQUEST to 'false' not empty
Fix Travis pull request logic