Fix addBuildsetForSourceStampsWithDefaults
 - project is a mandatory parameters of findSourceStampId. So set it to '' by default.
   addBuildsetForChanges does the same thing when a codebase has no changes. (See schedulers/base.py line 249)
Merge delanne/buildbot:FixPeriodicScheduler (PR #1326)