[#83393154] fixing contracts and visits date range filter; fixing visits list tooltip reducing App.Visit javascript structure

Squashed commit of the following:

commit fb041e82bf4597fa2c9690047258ba1c51fe514e
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Dec 9 18:05:40 2014 +0100

    [FIX CI] visits routes

commit 30449d2626c8fbba00e94c2bd206c9052c5774d2
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Dec 9 17:48:33 2014 +0100

    fixing visits routes

commit bf297d22b1522d5fc1f57ca7e549423b59803704
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Dec 9 17:18:58 2014 +0100

    fixing visits date range filter

commit d05b130bdf1225aedac9bb2d7be85d952a838233
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Dec 9 16:47:24 2014 +0100

    fixing visits list tooltip reducing App.Visit javascript structure

commit 0bbf8c6c5d7c8bb6df7cab7793de456b0e770e59
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Dec 9 15:56:19 2014 +0100

    fixing contracts date range filter