Fixes #713, #771, #1161
more sane resolve
cleanup callback
Merge pull request #2233 from levithomason/feature/reload-stylesheets

Method to scan for and register stylesheets