Fixed rspec configuration
Added DEBUG env variable to show debug output for specs
Ignore Rubymine files
Fixes Mongoid in 4.0+