Dashboard refactorings
- Forward errors to the callers instead of panic'ng
- Use util Closers to handle resources
- Make concrete dashboard class private to the package, exposed only via the interface
To the reviewer: The test coverage rate got lower as some unneeded code has been removed and some error extra error handling added to wrap errors to the callers.
Edited by Leandro Santiago