Factoring out external dependencies

Added client-side dependency management system. Base URLs to external
JS/CSS libraries are now specified in the app configuration.