Stanford-Online/class2go — pull request #1346 by jrbl (2012-11-20 20:34:35+00:00)
Title: Filetype speedups and tests (prod - really now)

* eliminate an S3 round-trip for filetype lookup
* make icon assignment a constant-time operation
* rename .file_icon() to .get_icon_type() to make its behavior more
explicit
* rename .file_ext() to .get_ext()
* Adds unit test