Visualizer

Closes #89 

@rcrichton if you could please review?

All comments from https://github.com/jembi/openhim-core-js/pull/155 apply here.
So much of this is view specific so for the productionised version we should create a util js file for these (or maybe even a directive).