Removed unused login check function
Debugging class
Added a session handler class for the mapi objects

So now we can trust that the deletion of the objects will be done
in the correct order. It will also be useful while caching the sessions
The addressbook implementation now uses the new debug and login classes
Calendar now uses the new mapisession class
Calendar now uses the new debug class
Debug typo and little bug about indentation
Profile checking at login managed by MapiSessionHandler class

So we have more control about the mapi objects destruction order
Merge pull request #1 from Zentyal/mjulian/profile-login-object

Mjulian/profile login object