initial steps towards device log viewer
landing page for phone logs
creating log view page
duplicate log detection
change how time gaps are displayed
add link back to device list page on log detail page
moving bhoma onto dimagi-utils submodule

big picture:
- most of bhoma.utils removed, now points to dimagi.utils submodule
- a few pieces of bhoma.utils preserved, bhoma-specific autocomplete,
test data generator,
- new submodule + app for couchversion added. was previously in a piece of
bhoma.utils

changes to settings:
- BHOMA_APP_VERSION -> APP_VERSION
- BHOMA_COUCH_* --> COUCH_* (still backwards compatible)

known issues:
- couchlog in a broken state. needs update
add comment to justify random reduce function's existence
fix device log view to not fail with "entry.version is read-only"
consolidate into directory
update couch views for new couchforms
refine views that don't actually need domain
fix url refs in templates, filter device list by domain
handle date format change
need to pass domain around views and templates
fix
add security
domain must be 2nd view param
made templates pluggable
couchdbkit patch