Simplify error messages, and remove a needless conditional.

Add ability to flash messages with JavaScript
  To use:  flash($('#selector'), 'error', 'Message');
           param 1 => jQuery selector to prepend the error message.
           param 2 => log level [error, info, etc]
           param 3 => message to display

Add validation on the fly for anything that has class of formatted.
RSpec unit tests for evaluator.rb

Converted unit tests for evaluator to RSpec.
Refactored EvaluationResult and its subclasses.
Extended Evaluator to be able to parse all geospatial queries (they don't need much handling though).
Removed stale lib/evaluator.rb file.
Merge branch 'master' of github.com:brandonblack/mongo-tools

Conflicts:
	Gemfile
	spec/spec_helper.rb
Get the insertion of flash messages safer.
Merge pull request #49 from jonasz/master

RSpec for evaluator.rb
Fix something that was already in spec/spec_helper.rb
Tidied up
Merge branch 'master' of github.com:brandonblack/mongo-tools
Merge pull request #48 from hoangelos/master

Add JSON validation on the fly capability
updated add collection to include Exception handling
updated add collection to include exception handling
updated add collection to include Exception Handling
Added field validation after user is done typing.
Clean up.
[Query Analyzer] Improve indexes suggestion fucntion
Improve tests to use Capybara's waiting mechanisms
Merge pull request #53 from drcapulet/master

Improve tests to use Capybara's waiting mechanisms
Removed blank line to see if Travis build will pass.
Merge remote-tracking branch 'upstream/master'
Added test for empty search results.