Hook in to DDD.
Use the real send POST params keyword.
Error handling for connections
Merging in develop
Update ddd url
Merging develop
Refactors Views into a module.
Begins to split up core OPAL views into core, templates.
Introduces a new set of API views for our public facing APIs.
In due course we should move all of the JSON API views into this so that
we can version the API sensibly.

Also changes the integration endpoint to be Glossolalia rather than DDD.
Update serialisation of data to upstream so that Glossolalia can get at
it easily.
Add Gender && Ethnicity lookuplists

refs openhealthcare/elcid#443
refs openhealthcare/opal-research#46
Merges develop