data: underscore: Use unminified version of underscore.js.

This was taken straight from

   https://github.com/jashkenas/underscore/releases/tag/1.2.2

and should address issue #2.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Use uniform EOL characters (Unix-style).

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
readability.css: Work around syntax error by commenting code.

The file is terrible as is and should be reindented, passed through a
[lint-like utility][0], refactored and [optimized][1] both for computers as
well as for humans.

[0]: http://csslint.net/
[1]: http://cleancss.com/

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
package.json: Make json unminified.

It is not like we are after saving the last few bytes. And, in the case
where we are, we can always minify the files before including them in the
resulting xpi.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Remove trailing whitespaces and add missing newline at end of file.

These are pesky things, but they make the code more readable.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
README: Wrap long lines to keep things tidy.

This shouldn't affect the rendering of the page.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
README: Use markup that makes clearer the indenting level.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data/readability.js: Fix missing semicolon.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data/resources.js: Fix very long line with code.

This (and other comments) should quite probably be removed from the source
code. It will, after all, be available in the git history, in case it is
needed in the future.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data/figures: Start separating figures from code for maintainability.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data/figures: Extract figures from the CSS file to keep sanity.

These data files should not be part of the CSS (which is supposed to be
"source code") and, if possible, should be sourced from external files.

If we are really looking to squeeze the last bytes (which we weren't, since
base64 encoded files are usually 4/3 the original size), we can consider the
option of using sprites for this purpose, but that's a decision for the
future.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data: figures: Optimize aggressively the PNG files.

I optimized (losslessly) the PNG files with the following sequence of
commands:

    optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 *.png
    advpng -z3 *.png
    advpng -z4 -i2500 *.png
    advdef -z3 *.png
    advdef -z4 -i2500 *.png

and the savings were amazing in relation with what we had before: about 10KB
(which, and if we convert back with base64 encoding, would result in 4/3 *
10 = 13 fewer KB).

This goes on to show that the previous strategy of mixing the code with data
renders both unreadable code as well as hindering software maintenance.
Furthermore, any review process might consider this an improvement, as there
are no blobs embedded in the code (once we remove them from the CSS files).

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Move logo.ico to the figures subdirectory for consistency.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data: First try at introducing a dark mode for reading.

This dark mode is based on the original Athelas mode from Readability (with
the same colors), but, of course, without font blobs. Furthermore, only Free
fonts are used.

Note that the icon for the dark mode is currently the same as the one for
terminal mode, but once things get working, this is simply a matter of
cosmetics.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data/figures: Add dark icon with dark colors.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data/figures: Put also the base64 encoded icon in the CSS file.

This should be moved out from there, but let's keep it simple first.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
lib/main.js: Avoid deprecated use of `require`.

Otherwise, we get a lot of warnings when using `cfx xpi`.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
data: readability.css: Put space for dark theme in the floating bar.

It is still not that great, but better than the previous situation.  We
should probably use dimensinons that are not fixed, but dependent on the
size of the window.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
package.json: Indicate that the license is the APL 2.0.

Since we are basing our work on the original Enjoy Reading, the original
license is at:

    https://addons.mozilla.org/en-Us/firefox/addon/enjoy-reading/license/1.0.1

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
package.json: Add more specific description of the extension.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>