Pretty print json in production
Don't embed memberships unless requested

This changes the way that memberships are embedded with the ?embed
parameter. If you just provide 'membership' then the first layer of
memberships are populated (the default behaviour), 'membership.person'
will populate the people in the first layer of memberships, but not
those peoples memberships, 'membership.person.membership' will populate
the people's memberships as well. The same goes for organizations.

I've changed the embed population to be a mongoose plugin, which
tidies up the code in src/app.js a bit to just call a method on the
model.

I've also removed the recursive membership population in favour of using
the async module, which makes it a bit easier for my brain to grok.
Check that enough targets have been found
fix elastic search date mapping and search issues

Elastic search isn't happy with saving blank dates so we put in some
place holder ones and mark them as such when indexing documents. We then
remove the place holders and markers when we pull the dates back out.

This also means that death_date:>$some_date etc works as expected when
using the search.

FIxes #63 and Fixes popit#610