Using models as sources for other models was not working because it was being set as a submodel

* Removed the call to setForeignKey() in addSource()
* Ran a few tests and it does not seem to have affected anything
* TODO: More comprehensive automated tests for the API layer