Only create the period watch task if there is a watch in the stack

This prevents unneccessary greentheads polling the db.

bug 1202031
Change-Id: I065955d03df543df40af285f87a7fd3dfa779413
Merge "Only create the period watch task if there is a watch in the stack"