Introduce formatters interface

All output formatters are stored in ``core/formatters`` directory as separate CommonJS modules. Results wrapper (``core/results.js``) is introduced as well.

Resolves #113