Set setting the pocket.index for hd pockets in some situations.
Fix type for index[0] in addresses that got it bad due to bug in previous commit.
Moved html, css, js and other files inside src folder.

This is necessary for Firefox compatibility.
Fixed npm run i18n-update.
Fixed test coverage.
Added firefox adapter.
Fixed some bugs with firefox content scripts.
Frontend wasn't receiving the backend API because of requirejs.
Waiting for background to be ready.
Moved backend functions inside window.api.
We are only to export window.api instead the whole window.
Backend api can have childs now.
Replaced DarkWallet.core.getKeyRing() uses by async functions.
Made client available from the beginning.
Made DarkWallet.getClient async.
Made getLobbyTransport() asnync (part 1).
Made DarkWallet.core.* async.