Remove deprecated methods from User and Team models

Change-Id: Ief3231270e55b8e4075de45c70ee24517b05b3fc
Fix NPE in getting a user's fork if repository caching is disabled

Change-Id: I10e90f54964daa32d954b47a8a6d54267b215222