Rebuild docs and demos, replace master with gh-pages in urls.