Management of mouse actions in dahuapp.viewer.js and dahuapp.js

Added hasNextActionWithPrevious function which says if the following action has a "withPrevious" trigger.
Added previousMouseLocation function which returns the mouse location of the previous action.
Added mouse animation in the viewer

Modification of the dahuapp.viewer.js to visualize mouse animations.