history: fix history limit

Since history is now handled by LRC, set the history limit instead
of storing it client side.

There is a race condition in LRC, we need to make sure daemon is
started before creating the history, otherwise dring.yml is not
parsed when we ask what is the currently set historyLimit and returns
default value.

Change-Id: I433a37ab559721df82225a6fe2695525ed85fcd0
Tuleap: #103
diff --git a/src/main.mm b/src/main.mm
index 075ee70..fd412b7 100644
--- a/src/main.mm
+++ b/src/main.mm
@@ -33,6 +33,7 @@
 #import <categorizedhistorymodel.h>
 #import <localhistorycollection.h>
 #import <numbercategorymodel.h>
+#import <callmodel.h>
 
 #import "backends/AddressBookBackend.h"
 #import "delegates/ImageManipulationDelegate.h"
@@ -62,6 +63,7 @@
         }
     }
 
+    CallModel::instance();
     CategorizedHistoryModel::instance().addCollection<LocalHistoryCollection>(LoadOptions::FORCE_ENABLED);
 
     /* make sure basic number categories exist, in case user has no contacts