2289- Conditionally call attr_accessible in Comments

I've wrapped the `attr_accessible` call in the Comment model to be called only when it has an `attr_accessible` method available.

I've left `permitted_params` without anything wrapped around it, assuming it won't give an error in Rails < 4.0.