Ported dashboard code.

Lots of updates, too many to document.
Fixed issue with items not being deleted.
Merge branch 'master' of github.com:laf/librenms