move existing tests to rspec
create unique login token for each user
some minor refactorings
add common load_project in app_controller and use it in multiple locations
Add more examples of how to embed the badge in different file formats.
Adds bitbucket support

This adds backend support for bitbucket repositories.
Missing:
- An interface to add bitbucket projects
- Remove some hardcoded github links (mostly views)

Limitations:
- Bitbucket API only allows fetching 15 commits at a time.
Uses reversible dir.up in migration
Merge pull request #53 from hugopeixoto/bitbucket-support

Adds bitbucket support
Merge pull request #46 from kuldeepaggarwal/modify-existing-test-cases

move existing tests to rspec
Merge pull request #47 from kuldeepaggarwal/fix-set_login_token

create unique login token for each user
Merge pull request #52 from mikebryant/feature-embedding-urls

Add more examples of how to embed the badge in different file formats.
Add project specs
  1. optimize Project#repository_client
  2. add validations more precisely
Move model related code to User model
  - redirect back to login page if unable to fetch omniauth data.
removed the 'html' attribute from projects dashboard
Merge pull request #54 from kuldeepaggarwal/model-test-cases

Add project specs
Merge pull request #50 from adityakapoor/improve-controller

Refactor and improve code in controllers
Merge pull request #55 from kuldeepaggarwal/f-omniauth-improvement-t

Little cleanup of omniauth controller.
Merge branch 'pr/49'

Conflicts:
	app/models/project.rb
	app/models/user.rb
Merge pull request #57 from narutosanjiv/master

removed the 'html' attribute from projects dashboard