add attr_accessible for updating. override value_before_type_cast so co...

I had two issues when trying to user Settings in a rails form. Update failed mass assignment validation since attr_accessible was missing. Added it.

text_field displays the YAML format stored in the database. Override active-record method to return the YAML parsed value.