Make chaining clearer in request execution.
minor style fixes.
Merge branch 'kohana_3' of github.com:gallery/gallery3 into kohana_3