Integrate timeseries endpoint into security endpoint

Given their similarity, combine the two endpoints into one.

Also consider adding a summary parameter, that calculates the yield (in %) for a security over the past 1, 3 and 5 years.