This commit also fixes some other bugs and cleans up related code.
- remove spectron - use electron-mocha to run mocha test suites inside electron