Dashboard links fix

When user clicks particular dashboard load widgets from server (not from
cache)
Added loader
Improvements and refactoring

1) Widgets related functions were moved to the separate view model
2) Added functions to create fake dashboards and widgets
3) Added view templates for dashboard list and widgets table