Cryptosphere::Resource DSL based on class_attribute

This simplifies declaring properties of resources by using a DSL which stores
properties using ActiveSupport's class_attribute

For the most part this maps quite cleanly onto Webmachine's existing API,
allowing certain fields to be declared at the class level in a somewhat
"Railsy" manner.