Edit gemfile to fix foundation/freebase search compatibility issues

- Remove foundation rails gem
- Specifiy jquery 1.7.1