Upgrade to the new bower-json api.

- Wrapped read of json into util/readJson
- Validate if links are correct
- Fix inconsistencies when ignoring bower.json errors
- Code simplification

Closes #668