Feature/optimize member to cover

I changed the #member? calls to #cover?, which should be a lot faster.

I also added the .idea directory created by RubyMine to .gitignore.