Add support for validating bower components.

@davidcelis Good to merge?