Added missing API link to header of edit doc page

closes COUCHDB-2332
Replace colour variables used in various places with generic variables

Allows easier theming