Cleanup <head> template and update to TBS 3.1.0

- Update to Twitter Bootstrap 3.1.0
- Rearrange resources in <head> template and remove unnecessary ones
- Ensure fallback external resources are present
- Add CDNJS attribution