fix foreach and elseif statements,
fix warnings in scope.jade test on php 5.4.
improvements in sample application.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/example/news.jade