Add dependency to mediawiki.api in ResourceLoader

Change-Id: I6911e1e592362acdca8ca9d63b7a8b5e2094028f