Hook in to DDD.
Use the real send POST params keyword.
Error handling for connections
Merging in develop
Update ddd url
Don't allow non-pid users to edit demographics

refs openhealthcare/opal-research#36
refs openhealthcare/opal-research#32
Merging research
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.