Switch to shadowhand's repo and rewrite preamble (in sync with vendor branch)
Add missing security preambles (in sync with vendor)
Merge branch 'kohana_3' of github.com:gallery/gallery3 into kohana_3