Adding base tests for backend/services.
Includes mocks for chrome.runtime.
Includes fixes for problems found.
Merge branch 'develop' of https://github.com/darkwallet/darkwallet into develop