Allow direct access to the realm branch in config
Create new control script and fix debug/reload/kill related stuff
Fix Datapool methods
Merge remote-tracking branch 'openxpki/develop' into develop

Conflicts:
	trunk/perl-modules/core/trunk/OpenXPKI/Server/API/Object.pm
Initial checkin of sphinx documentation

General setup of sphinx (merge of mbartosch/feature/documentation)
Initial version of documentation on the configuration
Fix/Improvement for Authentication Handler

Outsource the user database for password authentication to a connector
Create a connector for role lookup in x509 based handlers (needs testing!)
Fix tests and startup script related stuff
Add new admin script, fix some minor bugs and add a lot of config documentation
!!!!Code tree reorg patch!!!!!

This patch reorganises the code tree to get rid of the old svn/trunk layout

Here are the commands if you need to do the reorg on a custom branch:

echo "remove old stuff"
git rm -r www.openxpki.org
git rm -r trunk/clients/perl/OpenXPKI-Client
git rm -r trunk/clients/perl/OpenXPKI-Client-SCEP

echo "New core directory"
mkdir -p core/server

echo "Move control files to root"
git mv trunk/.VERSION* .
git mv trunk/LICENSE .

echo "Move stuff"
git mv trunk/clients .
git mv trunk/package/ .
git mv trunk/i18n/ core/
git mv trunk/deployment/ core/
git mv trunk/create_javakeystore/ tools/
git mv trunk/qatest/ .

echo "Move Core stuff"
echo "make sure that you dont have any untracked"
echo "files here as git mv will fail otherwise"
git mv trunk/perl-modules/core/trunk/* core/server/
Working debian builds for server and mason client, refactored deployment.

The former deployment package is now integrated into the core package.
Files from deployment/bin/ are moved to server/bin, the sample config is
now in core/config and is installed to /usr/share/docs by debian packages.

The openxpki control scripts are static and diretly installed to /usr/bin.
If no config is deployed (first install), a basic configuration is pulled
from the samples folder . Quickstart docs are up to date with the packages.

CPAN dependencies are building, Connector and Workflow are build from
our personal github repos as they are not officially available yet.

Debian builds for i18n and Mason are working.
Fix CRL and CA Issuer Listing, DER-utf8 fix, API doc and cleanup

Fix the API methods get_ca_list and get_crl_list and Mason stuff for
crl and ca listing. Also restructured and added docs for the API methods.

Added a force utf8 marker in get_cert and get_crl to prevent double encoding
on download - tested on perl 5.10 only!
Improve Authentication Password Handler

Create sample config + docs to move the password bases authentication to an
external file. Add new method "hashpw" to openxpkiadm to create the salted sha
hash used.
Fix ClientX509 Handler and related pkcs7 stuff
Fix mySQL init syntax for engine

Since mysql 5 the engine must be specified using "Engine=", mysql 5.1
tolerates the old syntax while mysql 5.5 fails.
Makefile adaptions for Ubuntu 12.04 builds
First draft on SCEPv2 Server

Squashed commit of the following (branch feature/scepv2):

commit 90c591f7d989b8b7cd63bf5f7cb26c909259ee89
Author: oliwel <github@oliwel.de>
Date:   Wed Feb 6 15:50:35 2013 +0100

    First Draft workflow doc on SCEP

commit 35529b98f2a2ed6dfa2912084aa439a47f6dd6ac
Author: oliwel <github@oliwel.de>
Date:   Wed Feb 6 15:46:54 2013 +0100

    Merged new XML and cleanup scep.yaml

commit ee36eee6ce82d3de839d7b15a531f25466558b55
Author: oliwel <github@oliwel.de>
Date:   Wed Feb 6 15:37:38 2013 +0100

    Add class to load recent cert data on renewal

commit a32cb28d00e9431a871dd3fbe8fc29044098da21
Author: oliwel <github@oliwel.de>
Date:   Tue Feb 5 21:04:29 2013 +0100

    Small Fixes and new Classes

commit 4eb66c9d1cb9c293d400a8a1ff1e9fa3cdee289f
Author: oliwel <github@oliwel.de>
Date:   Tue Feb 5 20:17:44 2013 +0100

    Merged fixed from Scott

commit 8455dd9d88ee73e75340b3091c87adc0b5160cb5
Author: oliwel <github@oliwel.de>
Date:   Tue Feb 5 20:00:14 2013 +0100

    Fix issues with broken XML configs

commit 5dd2d46722b06d4d4d912cdc7c9ee1b7e6e12176
Author: oliwel <github@oliwel.de>
Date:   Mon Feb 4 19:01:12 2013 +0100

    Graffle 2.1 xmls

commit fd91b4a6295162ed4d731c5c57dfad9f479a9563
Author: oliwel <github@oliwel.de>
Date:   Mon Feb 4 18:59:55 2013 +0100

    Remove the old default token stuff

commit 0eb6725e868153f098fe9e344021dbb8c884f33e
Author: oliwel <github@oliwel.de>
Date:   Mon Feb 4 18:59:16 2013 +0100

    Add renewal Cert data loop

commit 3a523b5ef7a31fe82898739539523b3b88962e4b
Author: oliwel <github@oliwel.de>
Date:   Mon Feb 4 16:02:45 2013 +0100

    New and modified classes + config

commit 284b866b9f5b22c0e673c18e7f5c0b9df3232763
Author: oliwel <github@oliwel.de>
Date:   Mon Feb 4 15:59:07 2013 +0100

    XML Changes

commit 089033841a33be12233291fea2e140773a5f88ca
Author: oliwel <github@oliwel.de>
Date:   Tue Jan 29 10:55:00 2013 +0100

    Config changes up to request validation

commit 7950f1c07cea6bbd5ca7a837c0dfdead17dbc8b4
Author: oliwel <github@oliwel.de>
Date:   Tue Jan 29 10:45:56 2013 +0100

    Classes for Workflow for request validation

commit b552418ac63ce083f34ca1b5dc8e7acfc6f75860
Author: oliwel <github@oliwel.de>
Date:   Mon Jan 21 13:02:20 2013 +0100

    Adjust to development head

    Stuff works now on development head.
    When porting back to legacy watch out for the "TODO-SCEPv2" markers
    as they indicate stuff that needs changing back!

commit 316e9eb038fab561e2cf383d79625deddae70972
Author: oliwel <github@oliwel.de>
Date:   Fri Jan 18 10:50:29 2013 +0100

    Add Workflow XMLs for SCEP enrollment

commit 3c03f6ac0f8431d22d9ba5f7fe37cbf5b95fff40
Author: oliwel <github@oliwel.de>
Date:   Fri Jan 18 10:40:07 2013 +0100

    Initial commit of the cust-hack stuff into the develop head

    Import the stub classes from Scott into the develop branch
    Add SCEPv2 as new service (adjust config layer)
    NB: Need to enabled SCEPv2 in old config.xml when porting back!
Update travis-ci config

- clean up and remove trunk from path in .travis.yml
- update Makefile
- add DBD::mysql to travis prereqs
Makefile: use perlbrew built-in install-cpanm

The Travis-CI code should use the installation code provided
by perlbrew rather than grabbing cpanm directly with curl.
add ogflow.pl
Initial work on Enrollment workflow

- Grab enrollment workflow from customer repo
- Rework make files for ogflow.pl