Make MWTransclusionModel#addTemplate take target object instead string

Change-Id: I6067e9de7d6029c36938b2758dffe4afdb0bf2ad