Schema: correct layout
Schema: add foreign key constraint to tile table
Schema: use VARCHAR instead of TEXT for filter
Schema: add unique index to parent table

This is to prevent the same relationship being inserted more than
once.
Web: trap NoRowsError when getting date range

Not all tasks have jobs with observation information attached.