bumped spec file version to 1.4.0, configured for nightly builds

This is a re-commit of 0dc94564d9f7ba5065f3facfc864718b478370e0, which
got reverted during a merge.
examples: Use new __default__ magic in TemplateHelper example