Upgrade to bootstrap 3.1.

Added bootstrap sources.
Only show categories div if there are categories.
Fixed CSS and layout.
Fixed mathjax url.
Fixed margin in container div.