implemented Rspec tests

RSPec tests

minor: trying to fix travis

minor: trying to fix travis

minor: trying to fix travis

Extended the evaluator_spec.rb test suite.

We are now able to check if our index suggestions are really useful.
The test suite queries MongoDB for query performance stats and checks
if our indexes improve them.

Enhanced index suggestions, fixed a few bugs.

Proper indexes are now suggested for sorting purposes.
Evaluating existing indexes was also improved.
A few minor bugs were discovered and fixed.

Coding style improvements

Conformed to the Github Ruby Styleguide.
Removed constants from EfficiencyResult and IndexResult classes.

Bug fix: expect explain[scanAndOrder] to be false

Somehow explain["scanAndOrder"] returns false instead of nil on the server,
this commit is fixing this issue.

Removed the side effects of ensureIndexQuality

Dropping the newly created index inside ensureIndexQuality method.

fixed some RSpec test bugs

clean RSpec code

Implemented Rename a collection and started RSpec test

implemented tabular collection information in database explorer

Fixed empty page. Wrote tests for Rename Collection

Rename collection

used Modals for (new collection)

Used modals for (rename collection)

fixed disbled button bug

minor: moving to .ruby-version, killing .powrc

minor: adding license information, never go into battle without a shield

minor: spork, gemfile cleanup

Imporve result model & Support composite queries
**Changes**

* `EfficencyResult` and `IndexResult` are now store in separate field

* Add handler for `$mod` operator.

* Support recommend indexes for queries which contain `$or`, `$nor`, `$and` operators
[When using indexes with $or queries, each clause of an $or query will execute in parallel. These clauses can each use their own index.](http://docs.mongodb.org/manual/reference/operator/or/#_S_or) Thus, index suggestion function will generate index for each clause rather than a compound index for whole query.

* Modify some test cases to make it more rigorous

* Add test cases for new features

minor: bumping rails for security fix

minor: updating readme and fixing travis config

Fix bug when query in continuously clicked

Added language specific translations (Issue #50)

clean-up: killing whitespace, empty clases and non-essential tests

quality: adding code coverage tracking

minor: travis changes, improving poltergeist

Add in settingslogic to provide a Ruby object for application settings

Move away from settingslogic

Support for Language Specific Queries

Rebased to upstream.

Added language specific translations.

Basics for the language dropdown

Merge upstream to local.

Basics for the language dropdown

Merge upstream to local.

Ruby Syntax Feature working.

Need to implement Python and Node.js

Added Python and Node.js

Need to write test cases.

Added back collection name validation... accidently clobbered those
changes.

Whitespace fixes.

Use CodeMirror.

Whitespace fixes

Tweaks

Attempt to fix Capybara race conditions.

Typo.

Forgot a do.

Start of language translation tests.

Added rest of tests.

Fixed node.js explain.
Fixed not properly quoting sort keys.
Switched to using ruby and pythong constants for Ascending/Descending.

Removed flash_detetct js lib. Not using.

Attempt to fix travis build failure.

Use sleeps

More attempts at fixing travis failures

Build succeeding. Removing some debug stuff.

Attempt to fix jruby failures. Migrate from have_css to have_selector

Avoid testing text directly for equality. Parse JSON object and test
individual fields. Attempted jruby fix.

Remove some debug attempts

Added breadcrumbs. Added confirmation boxes.
Fixed syntax highlighting for Python and Ruby.

Add confirm box to delete collection option.

Began refactoring of new collection to use modal instead of redirecting.

Need to delete routes and unused view pages now.

Removed unused views and cleaned up routes.

Added breadcrumbs to rest of query interface pages.

Add breadcrumbs to document views

Fixing some of the comments

More fixes.

Fix

Refactor breadcrumbs into shared partial view.

Fixed whitespace and syntax.

first draft of the background statistics task

added travis config to keep build green.

barebones db stats model

setup scripts for the db + collections

changed test name

moved scrub! to a private method

moved all settings to application.yml

moved embedded models into their own files

Accidently clobbered bug fix.

Added new version (0.8) of Paper.JS (old was 0.22)

Added the op count graph and jasmine testing framework.

collection explorer
started JSON import
started JSON import
After squash and bundle update
after pull and merge