Add doc about ConstructSparseFromList and clean up the code a little.
Quote the command to try to make travis-ci parse our script.