Add coverage (uses istanbul) and integrate to karma

closes #6