Refactor: clean up skill resource service

In particular, make it set up the skill map without waiting for list()
to be called, and use rootscope instead of a scope passed in from a
controller.