Add goals and measurements from service

And updates them and so on. And tests.
Find next or previous

If no next goal or measurement is found, find the previous.
Merge pull request #6 from bdo-labs/update

Add goals and measurements from service