Added code climate badge
Handle authentication failure due to email change or Github nickname change. Fixes #173

- Right now, if a user changes his/her email or Github nickname, he/she can't login.
- This PR tries to fix that issue by finding the user by email if it
  can't find it by nickname
- If a user has changed nickname, then email will be used to find
  the user
- If a user has changed email, nickname will be used to find the
  user
- If a user had changed both, the email and nickname, then a new user
  will be created
- Added uniqueness validation on user's github nickname so that
  database level uniqueness constraint will not throw the exception
Merge pull request #174 from prathamesh-sonpatki/auth_failure

Handle authentication failure due to email change or Github nickname change. Fixes #173
Add missing tests for pages controller
Merge pull request #175 from ck3g/pages-controller-tests

Add missing tests for pages controller
Stub Issue#closed? and Issue#commenting_users

Stub there methods in test to avoid getting error:

`GitHubBub::RequestError: message: 'API rate limit exceeded for my.ip.add.res.'`
Fix unchecking favorite languages

Fix error `ActionController::ParameterMissing (param not found: user)`
when user unchecks favorite languages.
Merge pull request #178 from ck3g/fix-unchecking-favorite-languages

Fix unchecking favorite languages
Remove usernames from database.yml
Update schema
Merge pull request #180 from mrgilman/remove_db_usernames

Remove usernames from database.yml
Merge pull request #181 from mrgilman/update_schema

Update schema
Merge pull request #177 from ck3g/fix_issue_valid_for_user_test

Stub Issue#closed? and Issue#commenting_users
Unsubscribe (delete account) with one click

Well, two actually. Re: Issue #135
Merge pull request #179 from philtr/one-click-unsubscribe

Unsubscribe (delete account) with one click
Fix the routing issue for /resque/resque

- As Resque is mounted before our username/reponame route,
  /resque/resque goes to mounted resque server and throws error that
  user is not authenticated.
- This commit mounts Resque to /codetriage/resque so /resque/* will work
  fine.
- And we can see our resque-web from /codetriage/resque
Test and refactoring of RepoSubscriptionsController

  * Add tests for update and destroy actions
  * Replace `where().first` with `find` to avoid errors
    `undefined method destroy for NilClass` when subscription not found
update Gemfile use latest libv8
Refactor ReposController

move querying logic to responsible models.

Address review comments
Merge pull request #186 from railsaholic/bump_rubyracer_libv8

libv8 installtion errors out OSX Mavericks