Add Training feature tests
Merge remote-tracking branch 'upstream/development' into training-tests

Conflicts:
	spec/factories.rb
Move training tests to feature folder
Remove redundancy
Refactor misnamed variable
Add vagrant
Add instructions for vagrant and clean up readme
Use dotenv to manage our secrets
Use new expect syntax for mission display test.
Write some tests to test Mission editing functionality.

Add Mission using factory girl.
Add test to check that mission creation has the success message.
Add test to check that edit form loads properly.

Fix merge conflict with lesson plan factory.
Add tests to check editing of Mission title, description and experience.
Use lecturer use for Mission tests. Use updated course creation method for tests.
Creating mission with factory girl stops rake db: tasks from working

Don't require factory girl in the Gemfile and only load it for rspec.
Clean up mission tests.

Add default value for mission title in factory girl and clean up indentation.
Reduce duplication in test code by pulling common lines to before blocks.
Add tests for invalid mission title and description.

Stop using 'should' in test descriptions.
Remove extra lines.
Uncomment old error message case and change it to a pending test.
2 tests checked for the same condition. These were combined into 1 test.
Usage of an undefined variable 'title' might cause unpredictable results in future.
Merge pull request #271 from fonglh/mission-tests

Mission tests
Merge pull request #284 from kxmbrian/training-tests

Add tests for trainings
Merge pull request #286 from jsyeo/jsyeo-vagrant

Add vagrant to quickly set up a dev environment
Merge pull request #287 from jsyeo/jsyeo-dotenv

Use dotenv to manage our secrets
basic achievement tests (create achievements)
add delete tests for achievements. (edit tests do not work cause of absence of javascript)