Add persistance

Had to change the objects slightly. Added an id to the TvUrl. Hibernate is still annoying a bit. You have to save everything in the correct order for it to work, which is ok I guess. There are also some basic tests. A filter has been added to allow cross origin requests.