Bower Registry API v2

1. [optional] In line 8, use localhost test local registry.
2. [must] In <Bower Registry API v2>, packages api return result that has  'packages' prop. So, in line 73, add compatible codes.