Updates the base file to make it work for offline development.

Also removes jquery-ui and a new context_processor that injects the DEBUG variable.
Adds more granular admin links so we can have content editors.