adding structure to create, load, launch viewers

There is now a new class in dahuapp.viewer.js : DahuViewerModel.
It contains the whole methods needed by a viewer.