chore(jscs): exclude files from node_modules/ and libs/
chore(karma): include chai-sinon framework and use dots reporter

The dots reporter usually generates less output than progress, so it's
easier to debug the test output.
feat(model): return cached values when offline