Fixed failing unit tests

Also, moved WineApi.js and its unit tests into a separate folder since
we no longer use it (we now do all wine.com API calls via the server
which acts as a proxy).