make cases safe save too
Merge pull request #40 from dimagi/cz

make cases safe save too
ajax form view case tab: split up this case and other cases
extract data from algorithm into a constant
fix None datetime display, use SYSTEM_FIELD_NAMES from couchforms
Merge pull request #41 from dimagi/new_casedetails-mwhite

New casedetails mwhite
Merge branch 'new_casedetails-mwhite' into new_casedetails
fixing pagination corner cases
Merge branch 'new_casedetails-mwhite' into new_casedetails
Merge branch 'new_casedetails' of github.com:dimagi/casexml into new_casedetails
fix bad test name (was preventing other (failing!) tests from running)
add form_case_index view and insert tests into various other tests

also fix broken test
newlines
refactor function to not need case object
doc string
change how asserts work to be a custom exception that knows about case_id

- also autoformatting fixes... oops
add logic that attempts to reprocess a case under certain sync log asserts

also cleanup some code and move some functions around for better import
dependency handling.
remove log statement
include doc type check in reprocessing condition
bigfix for recursive dependency issues with case processing

test + a bit of cleanup