Push require() placeholders down to function level
Push require() placeholders down to function level

Also removes unnecessary caching, since this is already handled by
the require() implementation.

WoodyWoodsta/atom-latex,thomasjo/atom-latex,WoodyWoodsta/atom-latex,thomasjo/atom-latex,thomasjo/atom-latex