Follow library changes.
Redesign Makefile. Make build.dart dependent on 'make' command.

Note: component_build.dart is no longer used because it does not
allow custom output directories.
Add JS compiling to Makefile. (fix #1)