Merge pull request #1 from leotrubach/draft

Draft
Squashed commit of the following:

commit 62e40de5c0c8d322867bf74df209d4b18ec8c05b
Author: Leo Trubach <leotrubach@gmail.com>
Date:   Thu Dec 13 19:41:57 2012 +0600

    Setup admin site

commit 77119ffc0b8469bc79397baebb3dda77e319f306
Author: Leo Trubach <leotrubach@gmail.com>
Date:   Thu Dec 13 19:41:23 2012 +0600

    Write ca setup routine
Save also public key during CA initialization

Change names of file
Optimizations of private key save algorithm
[issue:2] Added PKCS#10 signer view
[issue:3] Check user privileges while signing PKCS#10 request
[issue:4] Check for duplicate UIDs, not whole subject DN
[issue:7] Duplicates should be rejected by 403 code not 400
[issue:5] Make testInvalidDN DRY
Removed unnecessary imports
[issue:9] Store certs and keys into specific directory
[issue:10] Write setup script
[issue:12] Implement django authentication based on HTTPS auth
Set read attribute to config files
[issue:11] Added home page to CA
[issue:14] Add support for web servers without DNS names
Add Admin site button to home page
Added admin action for certificate revocation and better certificates displaying
Fix stupid error
Reorder certificate creation
Reorder certificate creation