Update gemfile lock
More refactoring, cleanup urls, cleanup dependency installation for tests, fix dependencies
Add bower for testing