refacto dashboarder to correctly initialize the default module/page

Maybe it would be better to do something like this:

```javascript
function initPage(module) {
    var defer = $q.defer();
    return PageRepository.findBy({module: module._id, isDefault: true}).then(function(pages) {
      if (pages.length !== 0) {
        defer.resolve(pages[0]);
        return defer.promise;
      } else {
        return PageRepository.create(PageRepository.newDefault(module)).then(function(page) {
          defer.resolve(page);
          return defer.promise;
        });
      }
    });
  }
```