fix #15: no builds in a project breaks popup.

* also added template helper for empty projects view so the empty
projects message would show up correctly.
Merge pull request #17 from codepogo/bug/fix_15_empty_builds_breaks_things

fix #15: no builds in a project breaks popup.