Add publish flag for series 

Adding capability to mark series entities as published or not published. In addition a further criterion has been added to ignore series entities which have not set the first/last values of a timeseries (assuming that there are no observations yet)