Function for retrieving the currently added sources

In a project of ours we had to get the list of sources currently added because we're managing the list of sources outside of the calendar. 

This pull request adds that feature.