Added a gui_url response field for the entities api endpoint

in this fix we added a gui_url field to the response thus enableing
the user to click on a gui_url and get an actuall map.

[fixed #46]
fixed a typo in the aggregate call