[#51400905] borrow search

Squashed commit of the following:

commit c590050edf2c305958cb0cfeb05f90ebcbf73c9f
Merge: dc32628 78cf947
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Tue Jun 25 14:47:20 2013 +0200

    Merge branch 'next' into sp_borrow_search

    Conflicts:
    	app/assets/javascripts/_NEW/borrow/controllers/models_index_controller.coffee
    	app/assets/javascripts/_NEW/borrow/controllers/models_index_search_controller.coffee

commit dc32628d45eba2656bedce60149348b3f9a09cf4
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Mon Jun 24 15:24:06 2013 +0200

    finish implemenation of search

commit a851c7522ecb451e00eeaad1a3a139db349d5572
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Mon Jun 24 11:20:54 2013 +0200

    continue

commit 2e9793a0861e87975c2075e54facda4ecc9c5637
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Thu Jun 20 15:55:06 2013 +0200

    continue topbar search

commit 62d11cb7b75fed0a3631b69fc86a0cc1309e87cc
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Thu Jun 20 11:20:59 2013 +0200

    continue search

commit c288fc7be8781cb5abc7d8dcfe31864f2f296b56
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Thu Jun 20 08:11:22 2013 +0200

    continue topbar search

commit 47de41219b3865d2b5b3db17f88fc5b8a18f6898
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Wed Jun 19 15:15:25 2013 +0200

    continue search

commit 058073afada8961ee07b05a14b381b8ae2eefa11
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Wed Jun 19 14:21:54 2013 +0200

    move the set_paginated_header to the borrow controller to acces it from every borrow controller

commit b6e860374c14f24f951646d80f6d0bd7f168f74d
Author: Sebastian Pape <email@sebastianpape.com>
Date:   Wed Jun 19 14:17:56 2013 +0200

    starting the borrow search feature