bug issue #1004 Add Contextual Print to Object information Tool
clean up some accidentally introduced global variables.
fixed some js style issues and refactoured the printout of the html into a service.
camelCased a wrongly_named variable.
slightly altered the print method.
moved the PrintService file.