changes to enable related case tree display

- separate out property rendering stuff so it can be used there too
- pass some stuff
add jquery.timeago.js and change some property definition handling
Merge branch 'master' into case-tree
rename and move customized bootstrap-tab-history.js
add inline touchforms helpers
add bootstrap-tab-hashes.js
fix issue with copy of couchdbkit LazyDict
add case wrapping for pact patients
Merge pull request #595 from dimagi/case-tree

hierarchical related cases display