[#56442432] consider ip selection

Squashed commit of the following:

commit 335ad0cc2844c3fadcba64ec25ddc8d2ede8351d
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Thu Sep 12 11:52:31 2013 +0200

    finish integration tests

commit 629052aa1000efae86839637017ebdf511fe3f81
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Wed Sep 11 16:21:49 2013 +0200

    consider ip selection when opening calendar