Adding json responses for hosts and instance. This allows info to be pulled from other pages using ajax. Added a few tweaks to the instances page.