add attr accessors
Merge branch 'media' of https://github.com/flowerett/redactor-rails into media