Centarra/panel2 — pull request #28 by nasonfish (2014-05-04 23:26:59+00:00)
Title: apidoc: Various improvements to display and backend of apidoc

This introduces a better OOP feel to the API documentation when documenting each view, as well as a brand new design to the actual user-facing apidoc page.

[User-facing apidoc page](http://stuff.nasonfish.com/dnsdoc.html)

[Introduction to apidoc](http://stuff.nasonfish.com/apidoc.html)

Also in this pull request (it may well make sense to move them to another PR or just merge them, if you'd like):
- Solution to follow-up of issue #16: coupon codes now will tell the user if they are expired instead of charging full-price
- Suggested by @puffrfish: display nicknames and nodes (if they're `xenvps`s) of services on a user's profile page for admins
- Confirm deletion of DNS zones, since it's far too easy to accidentally delete a zone.