Add repository.GetSubscriptions

* In preparation for OPML export
* Also cleans up some repository tests