dashboard layout configuration

Add helper methods in DashboardConfig model to set and get
configuration.
In home.js, set dashboardconfig to default if it is empty.