hotfix ota restore 500 with null user_id
Merge pull request #63 from dimagi/cz

hotfix ota restore 500 with null user_id
Add time to case generator for OTA restore

This commit is to fix http://manage.dimagi.com/default.asp?62960.
Includes lots of fixing tests because of it as well.
Remove tons of stray spaces
Also use time in date string for V1 apps
Fix test failing due to datetime.now()
Merge branch 'master' into timestamp

Conflicts:
	casexml/apps/case/xml/generator.py
Merge pull request #66 from dimagi/timestamp

Add time to date modified field for OTA restore
Quick function to get cases referenced by an xform
Use iter_docs to grab the cases
Merge pull request #64 from kennknowles/cases-referenced-by-xform

Quick function to get cases referenced by an xform
fix bad initial args
Merge pull request #67 from dimagi/cz

fix bad initial args
Merge branch 'master' into case_multimedia

Conflicts:
	casexml/apps/case/xml/generator.py
	casexml/apps/case/xml/parser.py