Corrects build failures by upgrading deps.

- Fix single/double quote lookup.
- Updated development dependencies.

Ensured that the correct version of karma-phantomjs-launcher is
installed to avoid build timeouts resulting in failures.