Declare all dependencies via relative paths

This will make it possible to use these from Bower as AMD modules, since
loading the standalone JS was probably not technically feasible.

Now we output two sets of JS per component--dev and uglified. If you
want to use them in a larger project, load them via Bower and grab the
modules directly, they should work (not yet tested).