Upgrade templates and stylesheets for bootstrap 3