fixed bugs for Firefox

Firefox angular http request was failing sending and array of obj as
parameters. Converted the array into an obj. Firefox as default action
for the drop event was redirecting. modified dragNdrop directive to
prevent redirection.