Use a filter for the thumbnail generation.
Small private function refactor.
Use text coverage reporter.
Uses local Karma installation.
Adds Travis.yml.