Restructure the monitor couchapp using WMCore couchskel.

I restructured the monitor couchapp using the WMCore couchskel. I tested it in my VM, with and without deploying the frontends, and the monitoring works fine in both cases. When including the frondends, I also tested it accessing it via the usual URL from inside couchdb and also using the "aso-monitor" apache rewrite rule which Diego has already set in dmwm/deployment.
Hopefully I tested everything correctly and now the monitor should work in cmsweb.
I did all the tests using Firefox. 
The monitor still doesn't work when using Safari (and I guess the same is with Chrome).