Adjusting HOPE case and API to match revised spec (and some bugfixes)

Conflicts:
	corehq/apps/api/resources/v0_4.py
	custom/hope/models.py
Merge pull request #1874 from kennknowles/hope-api-fixes

Adjusting HOPE case and API to match revised spec (and some bugfixes)