Agent target info

Updated the UI and heartbeat message so that the UI can properly recover state in the event of an F5.
@intern-felicco @abnanda1 @davidfowl 
Get rid of the inline javascript, move to angular controller