Refactored out testing files and introduced bower to pull in external dependencies.