[#1659] remove new_package_form.html block overrides
[#1659] two-stage package/snippets/stages.html
[#1659] two-stage create package controller
[#1659] remove package create step 3 templates
[#1659] move Finish button to resource form
[#1659] move WsgiAppCase to new_tests/controllers/__init__.py
[#1659] test factory: create sysadmins with different names
[#1659] start of new package controller tests
[#1659] pep8
[#1659] import coding standards
[#1659] FunctionalTestBaseClass from datapackager, use new templates
[#1659] test that we can get to the resource page
[#1659] fix test_util.py
[#1659] backport version of webtest.Form.submit that works
[#1659] test package previous button
Add Dockerfile for building a CKAN 2.2 image

This commit adds a Dockerfile and support files (including nginx and
runit configuration) for a binary CKAN 2.2 docker image.

Specifically, this allows you to build a docker image including CKAN
2.2, running behind nginx and gunicorn, by running

    docker build .

For example, to build an image called ckan/ckan tagged at version 2.2,
you might run

    docker build -t ckan/ckan:2.2 .

The resulting image contains only CKAN, with a nearly vanilla
configuration. In order to use it, you must do one of two things. You
can either use the vanilla configuration as-is, and this requires that
you specify the location of a Postgres database and a Solr core on
startup:

    docker run -i -t -p 80:80 \
      -e DATABASE_URL=postgres://user:pass@hostname/db \
      -e SOLR_URL=http://hostname:8983/solr/ckan_default \
      ckan/ckan:2.2

This will run CKAN, connect to the database, and initialise it if need
be. Configuring Solr will have to be done separately.

Alternatively, you can use this image as a base for extension. If a
configuration file is injected to /etc/ckan/default.ini, the image will
use that and ignore the DATABASE_URL and SOLR_URL environment variables.

Lastly, by default the CKAN file store is at /var/lib/ckan, and you may
well wish to mount this data volume outside the running container:

    docker run ... -v /mnt/storage:/var/lib/ckan ...
Add postfix to docker image and allow configuration

This ensures that we can configure error emails from the CKAN instance
inside the container.

An optional environment variable, ERROR_EMAIL, can be set for the
container. If set, it will configure CKAN to send error emails to
$ERROR_EMAIL. If unset, no emails will be sent.
Switch to mod_wsgi in preference to gunicorn

As discussed previously, we're going to change one thing at a time so
this sticks to the default installation instructions and uses mod_wsgi
to run CKAN rather than gunicorn.

Also revert paths to the defaults (/etc/ckan/default,
/usr/lib/ckan/default, etc.)
Add a Dockerfile for a simple CKAN Solr container

This adds a Dockerfile which can build a simple container running Solr
4.8.1 with a "ckan" core which uses the schema from the ckan/config/solr
directory.
[#1764] Reorder the creation of the SOLR cache of the validated package_dict so that it does not include the unvalidated package_dict.