Add New Relic

This allows users to optionally configure a license key and app name for
New Relic for performance monitoring.
Move Cookbook maintainer, description to CookbookVersion

Since maintainer and description can be changed overtime with new
versions there is no need to store these attributes on Cookbook. This
moves both of these attributes from Cookbook to CookbookVersion but
delegates Cookbook#maintainer and Cookbook#description to
Cookbook#latest_cookbook_version for easy access.
Merge pull request #336 from opscode/new-relic

Add New Relic
Merge pull request #337 from opscode/move-cookbook-attrs-to-cookbook-version

Move Cookbook maintainer, description to CookbookVersion
Don't send cookbook notifications to imported users

Since we'll be running Supermarket in parallel with the current
community site we don't want to send cookbook follower notifications
from Supermarket until the user signs in, at least during the soft launch
period. Imported users will have a oauth_token for their chef_oauth2
account set to imported until they sign in so we can use that as an
indicator for whether or not they are active on Supermarket.
Fix vagrant port error

The way the port config code evaluated confused Vagrant (aka it didn't
work). This changes it up a bit and allows it to be reused further down
in the Vagrant config.
Search UI adjustments

- Change filter by to sort by
- Remove created at date from cookbook search results
- Allow users to unselect a search filter by clicking on the filter again
- Change search title to number of cookbooks returned
- Use longish time format for updated at date for cookbook search results
Track old Community Site IDs

- Cookbook Followers
- Cookbook Collaborators
- Cookbooks
- Cookbook Versions
- Supported Platforms
- Users

We can stop tracking these IDs once the old site is decomissioned
Merge pull request #340 from opscode/fix-vagrant-port

Fix vagrant port error
Merge pull request #341 from opscode/search-ui-changes

Search UI adjustments
Merge pull request #338 from opscode/migrated-user-cookbook-notifications

Don't send cookbook notifications to imported users
Query by cookbook name in a consistent manner

Since cookbook names should be unique (case-insensitive), we must be
careful to query for cookbooks by name in a way that respects that. We
could continue to query by LOWER(name), but Rails's Ruby schema language
does not preserve Postgres expression indices, and building in support
for such things is not a high priority at the moment. SQL schema dumping
is not a viable option, either.
Merge pull request #335 from opscode/consistent-cookbook-queries

Query by cookbook name in a consistent manner
Merge pull request #342 from opscode/track-legacy-ids

Track old Community Site IDs
Indicate when the current user is a CCLA admin

Fixes a bug where users who are CCLA admins would not see themselves as
admins in the panel to manage CCLA signatories.
Update Rails to 4.0.5

Updates Rails to security release 4.0.5 for CVE-2014-0130.
Merge pull request #345 from opscode/security-update

Update Rails to 4.0.5
Merge pull request #344 from opscode/ccla-admins-see-themselves-as-such

Indicate when the current user is a CCLA admin
Handle pg search ordering bug for cookbooks search

There appears to be an issue with the pg search gem
https://github.com/Casecommons/pg_search/issues/129 that breaks ordering
after a search has been performed. This changes the controller flow so
ordering is done before searching and also adds a spec originally used
to reproduce the bug but seems handy to keep around in case pg search
misbehaves again.
Merge pull request #347 from opscode/search-ordering

Handle pg search ordering bug for cookbooks search