fixing inventory pagination

Squashed commit of the following:

commit 20770fd34a5777b173b937ac9203deac602a1cd7
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Thu Aug 21 16:21:58 2014 +0200

    tagging scenario

commit fc7c43f876c9376a23b04c3bb2b2690d1d56543b
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Thu Aug 21 14:44:10 2014 +0200

    [FIX CI]

commit db6d27b0e2d43045123c9fa45d8693ddae4877b1
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Thu Aug 21 14:01:02 2014 +0200

    fixing inventory pagination