Extract report functionality from access-lint gem into JS library.

This is specific to the library name, as such we can't modify it.