Refactored ability.rb for readability

Keeps functionality and passing tests from spec/controllers/article_controller_spec.rb but is more readable and easier to understand.