[MOSYNC-2719] Turned on -Werror -Wall for all template projects.
Merge pull request #334 from fredrikeldh/master

MOSYNC-2719 fixed