Added Init middleware
Added Init middleware

Squashed commit of the following:

commit 581c3a1dc266d69dd00a5695d386069f44f4a875
Author: Adrian Skierniewski <adrian.skierniewski@gmail.com>
Date:   Sun Jul 17 20:28:46 2016 +0200

    Added Init middleware

GrupaZero/cms,GrupaZero/cms