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 branch 'case-tree' into staging2
update casexml, touchforms, pact for staging